instance property

AuthServices get instance

Returns the singleton instance of AuthServices used by the provider endpoints.

Implementation

static AuthServices get instance {
  final localInstance = _instance;
  if (localInstance == null) {
    throw StateError(
      'AuthServices is not set. Call AuthServices.set() to initialize it before accessing the instance.',
    );
  }

  return localInstance;
}