stateAsync property

Future<double> stateAsync
inherited

It is a future of the state. The future is active if the state is on the isWaiting status.

Implementation

Future<T> get stateAsync async {
  final snap = await _reactiveModelState.snapStateAsync;
  // assert(snap.data != null);
  return snap.data as T;
}