copyWith method

ControllerStateBase copyWith({
  1. AppError? error,
})

Implementation

ControllerStateBase copyWith({AppError? error}) =>
    ControllerStateBase(error: error ?? this.error);