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