copyWith method

WebApiModulesSettingsLaborSettingsCrewCrewDocumentPostRequest copyWith({
  1. String? contactId,
  2. String? documentTypeId,
  3. String? description,
  4. bool? attachToEmail,
  5. bool? inactive,
  6. bool? fileIsModified,
  7. String? fileDataUrl,
  8. String? filePath,
})

Implementation

WebApiModulesSettingsLaborSettingsCrewCrewDocumentPostRequest copyWith({
  String? contactId,
  String? documentTypeId,
  String? description,
  bool? attachToEmail,
  bool? inactive,
  bool? fileIsModified,
  String? fileDataUrl,
  String? filePath,
}) {
  return WebApiModulesSettingsLaborSettingsCrewCrewDocumentPostRequest(
    contactId: contactId ?? this.contactId,
    documentTypeId: documentTypeId ?? this.documentTypeId,
    description: description ?? this.description,
    attachToEmail: attachToEmail ?? this.attachToEmail,
    inactive: inactive ?? this.inactive,
    fileIsModified: fileIsModified ?? this.fileIsModified,
    fileDataUrl: fileDataUrl ?? this.fileDataUrl,
    filePath: filePath ?? this.filePath,
  );
}