existsById method

  1. @override
Future<bool> existsById(
  1. String id
)
override

Returns true if an entity with the given id exists in the database.

Implementation

@override
Future<bool> existsById(String id) {
  return Future.value(_data.containsKey(id));
}