FutureSnapshotListenerCallback<T> typedef
FutureSnapshotListenerCallback<T> =
void Function(FutureSnapshot<T> snapshot)
Signature of callbacks that have snapshot
s in argument which describes state of an asynchronous Future computation.
Implementation
typedef FutureSnapshotListenerCallback<T> = void Function(
FutureSnapshot<T> snapshot,
);