copyWith method
NotificationInsertV2Body
copyWith({ - String? dealerId,
- int? deviceId,
- String? type,
- String? message,
- int? timeCreated,
- DateTime? dateTime,
- String? serialNumber,
- String? displayName,
- bool? isUnRead,
- bool? isDeleted,
- DateTime? dateCreated,
})
Implementation
NotificationInsertV2Body copyWith(
{String? dealerId,
int? deviceId,
String? type,
String? message,
int? timeCreated,
DateTime? dateTime,
String? serialNumber,
String? displayName,
bool? isUnRead,
bool? isDeleted,
DateTime? dateCreated}) {
return NotificationInsertV2Body(
dealerId: dealerId ?? this.dealerId,
deviceId: deviceId ?? this.deviceId,
type: type ?? this.type,
message: message ?? this.message,
timeCreated: timeCreated ?? this.timeCreated,
dateTime: dateTime ?? this.dateTime,
serialNumber: serialNumber ?? this.serialNumber,
displayName: displayName ?? this.displayName,
isUnRead: isUnRead ?? this.isUnRead,
isDeleted: isDeleted ?? this.isDeleted,
dateCreated: dateCreated ?? this.dateCreated);
}