copyWith method

WebApiModulesAgentQuoteQuoteDocumentPutRequest copyWith({
  1. String? quoteId,
  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

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