copyWith method

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

Implementation

WebApiModulesAgentProjectProjectDocumentPutRequest copyWith(
    {String? projectId,
    String? documentId,
    String? documentTypeId,
    String? description,
    bool? attachToEmail,
    bool? inactive,
    bool? fileIsModified,
    String? fileDataUrl,
    String? filePath}) {
  return WebApiModulesAgentProjectProjectDocumentPutRequest(
      projectId: projectId ?? this.projectId,
      documentId: documentId ?? this.documentId,
      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);
}