count property

int get count

The number of recorded states.

await notifier.execute(() async => 'done');
expect(recorder.count, 2); // loading + data

Implementation

int get count => states.length;