FutureSnapshotListenerCallback<T> typedef

FutureSnapshotListenerCallback<T> = void Function(FutureSnapshot<T> snapshot)

Signature of callbacks that have snapshots in argument which describes state of an asynchronous Future computation.

Implementation

typedef FutureSnapshotListenerCallback<T> = void Function(
  FutureSnapshot<T> snapshot,
);