copyWith method

AuthNavigationState copyWith({
  1. AuthNavigationStatus? status,
  2. bool? enableLoading,
  3. String? message,
  4. String? userName,
  5. String? password,
  6. String? token,
  7. String? accessToken,
})

Implementation

AuthNavigationState copyWith({
  AuthNavigationStatus? status,
  bool? enableLoading,
  String? message,
  String? userName,
  String? password,
  String? token,
  String? accessToken,
}) =>
    AuthNavigationState._(
      status: status ?? this.status,
      enableLoading: enableLoading ?? this.enableLoading,
      message: message ?? this.message,
      userName: userName ?? this.userName,
      password: password ?? this.password,
      token: token ?? this.token,
      accessToken: accessToken ?? this.accessToken,
    );