ImageAnnotation constructor
ImageAnnotation({
- String? id,
- required List<
double> bbox, - String? createdAt,
- required int pageIndex,
- String? creatorName,
- AnnotationAttachment? attachment,
- double rotation = 0.0,
- String? description,
- String? fileName,
- String? contentType,
- String? imageAttachmentId,
- String? note,
- bool? isSignature,
- double opacity = 1.0,
- int? pdfObjectId,
- List<
AnnotationFlag> ? flags, - String? updatedAt,
- String? name,
- String? subject,
- 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);