copyWith method

WebApiModulesContainersContainerContainer copyWith({
  1. String? containerId,
  2. String? description,
  3. bool? rental,
  4. String? iCode,
  5. String? scannableInventoryId,
  6. String? scannableICode,
  7. String? dateStamp,
  8. String? auditNote,
  9. String? recordTitle,
  10. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  11. List<FwStandardDataFwCustomValue>? custom,
  12. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  13. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesContainersContainerContainer copyWith(
    {String? containerId,
    String? description,
    bool? rental,
    String? iCode,
    String? scannableInventoryId,
    String? scannableICode,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesContainersContainerContainer(
      containerId: containerId ?? this.containerId,
      description: description ?? this.description,
      rental: rental ?? this.rental,
      iCode: iCode ?? this.iCode,
      scannableInventoryId: scannableInventoryId ?? this.scannableInventoryId,
      scannableICode: scannableICode ?? this.scannableICode,
      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);
}