last property

  1. @override
Future<T?> get last
override

last gets the last entry on database

Implementation

@override
Future<T?> get last async {
  return toList().then((value) => value.lastOrNull);
}