authState property

CLAuthState get authState

The bound CLAuthState. Throws StateError if bind has not been called yet.

Implementation

CLAuthState get authState {
  if (_authState == null) {
    throw StateError(
      'AuthSingleton not bound. Call AuthSingleton.bind() at bootstrap.',
    );
  }
  return _authState!;
}