FileAnnotation constructor

FileAnnotation({
  1. String? id,
  2. required List<double> bbox,
  3. String? createdAt,
  4. String? creatorName,
  5. FileIconName? iconName,
  6. EmbeddedFile? embeddedFile,
  7. required int pageIndex,
  8. double opacity = 1.0,
  9. int? pdfObjectId,
  10. List<AnnotationFlag>? flags,
  11. String? updatedAt,
  12. String? name,
  13. String? subject,
  14. bool hidden = false,
  15. AnnotationAttachment? attachment,
  16. Map<String, dynamic>? customData,
})

Creates a FileAnnotation instance

Implementation

FileAnnotation({
  super.id,
  required super.bbox,
  super.createdAt,
  super.creatorName,
  this.iconName,
  this.embeddedFile,
  required super.pageIndex,
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden,
  this.attachment,
  super.customData,
}) : super(type: AnnotationType.file);