copyWith method
Implementation
Device copyWith({
String? code,
String? description,
String? deviceIdentifier,
String? deviceInfo,
String? companyLicenceCode,
DateTime? createdAt,
String? createdBy,
DateTime? writeAt,
String? writeBy,
}) =>
Device(
code: code ?? this.code,
description: description ?? this.description,
deviceIdentifier: deviceIdentifier ?? this.deviceIdentifier,
deviceInfo: deviceInfo ?? this.deviceInfo,
companyLicenceCode: companyLicenceCode ?? this.companyLicenceCode,
createdAt: createdAt ?? this.createdAt,
createdBy: createdBy ?? this.createdBy,
writeAt: writeAt ?? this.writeAt,
writeBy: writeBy ?? this.writeBy,
);