countOfKind method

int countOfKind(
  1. K kind
)

How many changes of kind are reported.

Implementation

int countOfKind(K kind) =>
    changes.where((change) => change.kind == kind).length;