OperationFn<T> typedef Null safety

OperationFn<T> = Future<T> Function(Database db)

A function accepting a Database and returning a Future; an Operation is built from such functions.

Implementation

typedef OperationFn<T> = Future<T> Function(Database db);