ImageAnnotation constructor

ImageAnnotation({
  1. String? id,
  2. required List<double> bbox,
  3. String? createdAt,
  4. required int pageIndex,
  5. String? creatorName,
  6. AnnotationAttachment? attachment,
  7. double rotation = 0.0,
  8. String? description,
  9. String? fileName,
  10. String? contentType,
  11. String? imageAttachmentId,
  12. String? note,
  13. bool? isSignature,
  14. double opacity = 1.0,
  15. int? pdfObjectId,
  16. List<AnnotationFlag>? flags,
  17. String? updatedAt,
  18. String? name,
  19. String? subject,
  20. bool hidden = false,
  21. Map<String, dynamic>? customData,
})

Implementation

ImageAnnotation({
  super.id,
  required super.bbox,
  super.createdAt,
  required super.pageIndex,
  super.creatorName,
  this.attachment,
  this.rotation = 0.0,
  this.description,
  this.fileName,
  this.contentType,
  this.imageAttachmentId,
  this.note,
  this.isSignature, // Added to constructor
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden,
  super.customData,
}) : super(type: AnnotationType.image);