current property
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;
}
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.
Future<T?> get current {
return stream.first;
}