copyWith method

NotifyDeviceDataEntity copyWith({
  1. bool? success,
  2. String? message,
  3. NotifyDeviceDataData? data,
  4. String? notifyType,
})

Implementation

NotifyDeviceDataEntity copyWith({
  bool? success,
  String? message,
  NotifyDeviceDataData? data,
  String? notifyType,
}) {
  return NotifyDeviceDataEntity()
    ..success = success ?? this.success
    ..message = message ?? this.message
    ..data = data ?? this.data
    ..notifyType = notifyType ?? this.notifyType;
}