copyWith method

WebApiModulesSettingsShipViaSettingsShipViaShipVia copyWith({
  1. String? shipViaId,
  2. String? shipVia,
  3. String? vendorId,
  4. String? vendor,
  5. bool? inactive,
  6. String? dateStamp,
  7. String? auditNote,
  8. String? recordTitle,
  9. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  10. List<FwStandardDataFwCustomValue>? custom,
  11. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  12. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsShipViaSettingsShipViaShipVia copyWith(
    {String? shipViaId,
    String? shipVia,
    String? vendorId,
    String? vendor,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsShipViaSettingsShipViaShipVia(
      shipViaId: shipViaId ?? this.shipViaId,
      shipVia: shipVia ?? this.shipVia,
      vendorId: vendorId ?? this.vendorId,
      vendor: vendor ?? this.vendor,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}