copyWith method

QuickbooksAttachableEntity copyWith({
  1. String? id,
  2. String? syncToken,
  3. String? fileName,
  4. String? note,
  5. String? category,
  6. String? contentType,
  7. double? size,
  8. String? tempDownloadUri,
  9. String? thumbnailTempDownloadUri,
})

Implementation

QuickbooksAttachableEntity copyWith({
  String? id,
  String? syncToken,
  String? fileName,
  String? note,
  String? category,
  String? contentType,
  double? size,
  String? tempDownloadUri,
  String? thumbnailTempDownloadUri,
}) {
  return QuickbooksAttachableEntity(
    id: id ?? this.id,
    syncToken: syncToken ?? this.syncToken,
    fileName: fileName ?? this.fileName,
    note: note ?? this.note,
    category: category ?? this.category,
    contentType: contentType ?? this.contentType,
    size: size ?? this.size,
    tempDownloadUri: tempDownloadUri ?? this.tempDownloadUri,
    thumbnailTempDownloadUri:
        thumbnailTempDownloadUri ?? this.thumbnailTempDownloadUri,
  );
}