findEntries method

  1. @override
Future<List<SessionRecord>> findEntries(
  1. String type
)
override

Returns all records of the given type, in file order.

Implementation

@override
Future<List<SessionRecord>> findEntries(String type) async {
  return [
    for (final entry in _entries)
      if (entry.type == type) entry,
  ];
}