exists method

  1. @override
Future<bool> exists()
override

Returns true if any row matches the query.

Implementation

@override
Future<bool> exists() async {
  return (await count()) > 0;
}