AuthResponse<T extends Auth<AuthKeys>>.unauthorized constructor

const AuthResponse<T extends Auth<AuthKeys>>.unauthorized({
  1. String? msg,
  2. AuthType? type,
})

Implementation

const AuthResponse.unauthorized({String? msg, AuthType? type})
    : this._(state: AuthStatus.unauthorized, error: msg, type: type);