copyWith method

CreateTerminal copyWith({
  1. String? deviceId,
  2. String? softwareType,
  3. String? appId,
  4. String? softwareVersion,
  5. String? osType,
  6. String? osVersion,
  7. String? deviceVendor,
  8. String? deviceModel,
  9. String? storeId,
})

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,
  );
}