BlocCallback<R> typedef Null safety

BlocCallback<R> = Future<void> Function(R)

Implementation

typedef BlocCallback<R> = Future<void> Function(R);