count property

int get count

The number of recorded values.

counter.value = 1;
counter.value = 2;
expect(recorder.count, 2);

Implementation

int get count => values.length;