copyWith method
- bool? success,
- String? message,
- String? notifyType,
- List<
DeviceEntity> ? data,
Implementation
NotifyDevicesEntity copyWith({
bool? success,
String? message,
String? notifyType,
List<DeviceEntity>? data,
}) {
return NotifyDevicesEntity()
..success = success ?? this.success
..message = message ?? this.message
..notifyType = notifyType ?? this.notifyType
..data = data ?? this.data;
}