copyWith method

ActivationState copyWith({
  1. bool? isLoading,
  2. String? error,
  3. bool? isSuccess,
})

Implementation

ActivationState copyWith({
  bool? isLoading,
  String? error,
  bool? isSuccess,
}) =>
    ActivationState(
      isLoading: isLoading ?? this.isLoading,
      error: error,
      isSuccess: isSuccess ?? this.isSuccess,
    );