getState static method

AuthState? getState(
  1. Object flowKey
)

Returns a current AuthState of the AuthFlow given the flowKey.

Implementation

static AuthState? getState(Object flowKey) {
  final flow = _flows[flowKey];
  if (flow == null) return null;
  return flow.value;
}