copyWith method
WebApiModulesSettingsLaborSettingsCrewCrew
copyWith({
- String? crewId,
- String? userId,
- bool? isUser,
- String? salutation,
- String? nameFirstMiddleLast,
- String? person,
- String? lastName,
- String? firstName,
- String? address1,
- String? address2,
- String? city,
- String? state,
- String? countryId,
- String? country,
- String? countryCodeIsoAlpha2,
- int? countryCodePhone,
- String? zipCode,
- String? middleInitial,
- String? location,
- String? position,
- String? officePhone,
- String? officeExtension,
- String? directPhone,
- String? directExtension,
- String? fax,
- String? faxExtension,
- String? pager,
- String? pagerPin,
- String? mobilePhone,
- String? homePhone,
- String? email,
- String? contactTitleId,
- String? contactTitle,
- String? activeDate,
- String? inactiveDate,
- bool? contractEmployee,
- bool? inactive,
- String? webUserId,
- bool? webAccess,
- bool? lockAccount,
- String? webPassword,
- bool? expirePassword,
- int? expireDays,
- bool? webAdministrator,
- bool? changePasswordAtNextLogin,
- String? passwordLastUpdated,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsLaborSettingsCrewCrew copyWith(
{String? crewId,
String? userId,
bool? isUser,
String? salutation,
String? nameFirstMiddleLast,
String? person,
String? lastName,
String? firstName,
String? address1,
String? address2,
String? city,
String? state,
String? countryId,
String? country,
String? countryCodeIsoAlpha2,
int? countryCodePhone,
String? zipCode,
String? middleInitial,
String? location,
String? position,
String? officePhone,
String? officeExtension,
String? directPhone,
String? directExtension,
String? fax,
String? faxExtension,
String? pager,
String? pagerPin,
String? mobilePhone,
String? homePhone,
String? email,
String? contactTitleId,
String? contactTitle,
String? activeDate,
String? inactiveDate,
bool? contractEmployee,
bool? inactive,
String? webUserId,
bool? webAccess,
bool? lockAccount,
String? webPassword,
bool? expirePassword,
int? expireDays,
bool? webAdministrator,
bool? changePasswordAtNextLogin,
String? passwordLastUpdated,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsLaborSettingsCrewCrew(
crewId: crewId ?? this.crewId,
userId: userId ?? this.userId,
isUser: isUser ?? this.isUser,
salutation: salutation ?? this.salutation,
nameFirstMiddleLast: nameFirstMiddleLast ?? this.nameFirstMiddleLast,
person: person ?? this.person,
lastName: lastName ?? this.lastName,
firstName: firstName ?? this.firstName,
address1: address1 ?? this.address1,
address2: address2 ?? this.address2,
city: city ?? this.city,
state: state ?? this.state,
countryId: countryId ?? this.countryId,
country: country ?? this.country,
countryCodeIsoAlpha2: countryCodeIsoAlpha2 ?? this.countryCodeIsoAlpha2,
countryCodePhone: countryCodePhone ?? this.countryCodePhone,
zipCode: zipCode ?? this.zipCode,
middleInitial: middleInitial ?? this.middleInitial,
location: location ?? this.location,
position: position ?? this.position,
officePhone: officePhone ?? this.officePhone,
officeExtension: officeExtension ?? this.officeExtension,
directPhone: directPhone ?? this.directPhone,
directExtension: directExtension ?? this.directExtension,
fax: fax ?? this.fax,
faxExtension: faxExtension ?? this.faxExtension,
pager: pager ?? this.pager,
pagerPin: pagerPin ?? this.pagerPin,
mobilePhone: mobilePhone ?? this.mobilePhone,
homePhone: homePhone ?? this.homePhone,
email: email ?? this.email,
contactTitleId: contactTitleId ?? this.contactTitleId,
contactTitle: contactTitle ?? this.contactTitle,
activeDate: activeDate ?? this.activeDate,
inactiveDate: inactiveDate ?? this.inactiveDate,
contractEmployee: contractEmployee ?? this.contractEmployee,
inactive: inactive ?? this.inactive,
webUserId: webUserId ?? this.webUserId,
webAccess: webAccess ?? this.webAccess,
lockAccount: lockAccount ?? this.lockAccount,
webPassword: webPassword ?? this.webPassword,
expirePassword: expirePassword ?? this.expirePassword,
expireDays: expireDays ?? this.expireDays,
webAdministrator: webAdministrator ?? this.webAdministrator,
changePasswordAtNextLogin:
changePasswordAtNextLogin ?? this.changePasswordAtNextLogin,
passwordLastUpdated: passwordLastUpdated ?? this.passwordLastUpdated,
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);
}