findBy method

  1. @override
Future<T?> findBy(
  1. Map<String, dynamic> args
)
override

findBy looks for an entry based on map

Implementation

@override
Future<T?> findBy(Map<String, dynamic> args) async {
  return where(args).first;
}