copyWith method
Implementation
CreateTerminal copyWith({
String? deviceId,
String? softwareType,
String? appId,
String? softwareVersion,
String? osType,
String? osVersion,
String? deviceVendor,
String? deviceModel,
String? storeId,
}) {
return CreateTerminal(
deviceId: deviceId ?? this.deviceId,
softwareType: softwareType ?? this.softwareType,
appId: appId ?? this.appId,
softwareVersion: softwareVersion ?? this.softwareVersion,
osType: osType ?? this.osType,
osVersion: osVersion ?? this.osVersion,
deviceVendor: deviceVendor ?? this.deviceVendor,
deviceModel: deviceModel ?? this.deviceModel,
storeId: storeId ?? this.storeId,
);
}