copyWith method

PulseXState copyWith({
  1. T? value,
  2. String? message,
  3. PulseXStatus? status,
})

Implementation

PulseXState copyWith({
  T? value,
  String? message,
  PulseXStatus? status,
}) =>
    PulseXState(
      value: value,
      message: message,
      status: status ?? PulseXStatus.initial,
    );