copyWith method

WebApiModulesSettingsCrewPositionCrewPosition copyWith({
  1. String? crewPositionId,
  2. String? crewId,
  3. String? rateId,
  4. String? laborTypeId,
  5. String? laborType,
  6. String? description,
  7. double? costHourly,
  8. double? costDaily,
  9. double? costWeekly,
  10. double? costMonthly,
  11. bool? isPrimary,
  12. String? effectiveDate,
  13. String? endDate,
  14. bool? inactive,
  15. String? dateStamp,
  16. String? auditNote,
  17. String? recordTitle,
  18. dynamic urlIdentifier,
  19. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  20. List<FwStandardDataFwCustomValue>? custom,
  21. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  22. FwStandardBusinessLogicFwBusinessLogic? original,
  23. List<FwStandardDataFwTranslatedValue>? translation,
  24. bool? hasImport,
  25. bool? hasDocuments,
  26. String? createdByUserId,
  27. String? createdByUserName,
  28. String? createdDateTime,
  29. String? modifiedByUserId,
  30. String? modifiedByUserName,
  31. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsCrewPositionCrewPosition copyWith({
  String? crewPositionId,
  String? crewId,
  String? rateId,
  String? laborTypeId,
  String? laborType,
  String? description,
  double? costHourly,
  double? costDaily,
  double? costWeekly,
  double? costMonthly,
  bool? isPrimary,
  String? effectiveDate,
  String? endDate,
  bool? inactive,
  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 WebApiModulesSettingsCrewPositionCrewPosition(
    crewPositionId: crewPositionId ?? this.crewPositionId,
    crewId: crewId ?? this.crewId,
    rateId: rateId ?? this.rateId,
    laborTypeId: laborTypeId ?? this.laborTypeId,
    laborType: laborType ?? this.laborType,
    description: description ?? this.description,
    costHourly: costHourly ?? this.costHourly,
    costDaily: costDaily ?? this.costDaily,
    costWeekly: costWeekly ?? this.costWeekly,
    costMonthly: costMonthly ?? this.costMonthly,
    isPrimary: isPrimary ?? this.isPrimary,
    effectiveDate: effectiveDate ?? this.effectiveDate,
    endDate: endDate ?? this.endDate,
    inactive: inactive ?? this.inactive,
    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,
  );
}