Query typedef

Query = Future<List<JSON>> Function()

Lazy query.

Type alias for a function with no parameters and returns a Future that completes with a list of map or an error.

Implementation

typedef Query = Future<List<JSON>> Function();