current property

Future<NimbostratusDocumentSnapshot<T>?> get current
inherited

A Future that waits for a value to be added to the StateBloc. Completes with the current value if the StateBloc already has a value.

Implementation

Future<T?> get current {
  return stream.first;
}