copyWith method

WebApiModulesSettingsCrewLocationCrewLocation copyWith({
  1. String? crewLocationId,
  2. String? crewId,
  3. String? locationId,
  4. String? location,
  5. bool? isPrimary,
  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

WebApiModulesSettingsCrewLocationCrewLocation copyWith(
    {String? crewLocationId,
    String? crewId,
    String? locationId,
    String? location,
    bool? isPrimary,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsCrewLocationCrewLocation(
      crewLocationId: crewLocationId ?? this.crewLocationId,
      crewId: crewId ?? this.crewId,
      locationId: locationId ?? this.locationId,
      location: location ?? this.location,
      isPrimary: isPrimary ?? this.isPrimary,
      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);
}