primary property

AuthAdapter primary

You can retrieve the AuthAdapter first given by AuthAdapterScope.

最初にAuthAdapterScopeで与えたAuthAdapterを取得することができます。

Implementation

static AuthAdapter get primary {
  assert(
    _primary != null,
    "AuthAdapter is not set. Place [AuthAdapterScope] widget closer to the root.",
  );
  return _primary ?? const RuntimeAuthAdapter();
}