copyWith method

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

Implementation

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