OnObserveAllCallback<M extends ObserveModel> typedef

OnObserveAllCallback<M extends ObserveModel> = void Function(Map<BuildContext, M> resultMap)

The callback type of getting observed result map.

Corresponds to onObserveAll.

Implementation

typedef OnObserveAllCallback<M extends ObserveModel> = void Function(
  Map<BuildContext, M> resultMap,
);