copyWith method
- bool? success,
- String? message,
- NotifyDeviceDataData? data,
- 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;
}