CommandHandlerCallback typedef Null safety
Signature for functions that handle a command and return a result.
Implementation
typedef CommandHandlerCallback = Future<Result?> Function(Command c);
Signature for functions that handle a command and return a result.
typedef CommandHandlerCallback = Future<Result?> Function(Command c);