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

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

Implementation

const AuthResponse.authenticated(T? data, {String? msg, AuthType? type})
    : this._(
          state: AuthStatus.authenticated, data: data, msg: msg, type: type);