copyWith method

WebApiModulesSettingsLaborSettingsCrewCrew copyWith({
  1. String? crewId,
  2. String? userId,
  3. bool? isUser,
  4. String? salutation,
  5. String? nameFirstMiddleLast,
  6. String? person,
  7. String? lastName,
  8. String? firstName,
  9. String? address1,
  10. String? address2,
  11. String? city,
  12. String? state,
  13. String? countryId,
  14. String? country,
  15. String? countryCodeIsoAlpha2,
  16. int? countryCodePhone,
  17. String? zipCode,
  18. String? middleInitial,
  19. String? location,
  20. String? position,
  21. String? officePhone,
  22. String? officeExtension,
  23. String? directPhone,
  24. String? directExtension,
  25. String? fax,
  26. String? faxExtension,
  27. String? pager,
  28. String? pagerPin,
  29. String? mobilePhone,
  30. String? homePhone,
  31. String? email,
  32. String? contactTitleId,
  33. String? contactTitle,
  34. String? activeDate,
  35. String? inactiveDate,
  36. bool? contractEmployee,
  37. bool? inactive,
  38. String? webUserId,
  39. bool? webAccess,
  40. bool? lockAccount,
  41. String? password,
  42. bool? expirePassword,
  43. int? expireDays,
  44. bool? webAdministrator,
  45. bool? changePasswordAtNextLogin,
  46. String? passwordLastUpdated,
  47. String? dateStamp,
  48. String? auditNote,
  49. String? recordTitle,
  50. dynamic urlIdentifier,
  51. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  52. List<FwStandardDataFwCustomValue>? custom,
  53. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  54. FwStandardBusinessLogicFwBusinessLogic? original,
  55. List<FwStandardDataFwTranslatedValue>? translation,
  56. bool? hasImport,
  57. bool? hasDocuments,
  58. String? createdByUserId,
  59. String? createdByUserName,
  60. String? createdDateTime,
  61. String? modifiedByUserId,
  62. String? modifiedByUserName,
  63. String? modifiedDateTime,
})

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? password,
  bool? expirePassword,
  int? expireDays,
  bool? webAdministrator,
  bool? changePasswordAtNextLogin,
  String? passwordLastUpdated,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    password: password ?? this.password,
    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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}