copyWith method

DeviceMigrationRequestV3Body copyWith({
  1. DeviceHostDTO? deviceHost,
  2. bool? isDryRun,
  3. String? serialNumber,
  4. String? businessPartnerNo,
  5. String? homeownerEmail,
})

Implementation

DeviceMigrationRequestV3Body copyWith(
    {enums.DeviceHostDTO? deviceHost,
    bool? isDryRun,
    String? serialNumber,
    String? businessPartnerNo,
    String? homeownerEmail}) {
  return DeviceMigrationRequestV3Body(
      deviceHost: deviceHost ?? this.deviceHost,
      isDryRun: isDryRun ?? this.isDryRun,
      serialNumber: serialNumber ?? this.serialNumber,
      businessPartnerNo: businessPartnerNo ?? this.businessPartnerNo,
      homeownerEmail: homeownerEmail ?? this.homeownerEmail);
}