Annotation constructor

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

Implementation

Annotation({
  this.id,
  required this.type,
  required this.bbox,
  required this.pageIndex,
  this.creatorName,
  this.createdAt,
  this.opacity = 1.0,
  this.pdfObjectId,
  this.flags,
  this.updatedAt,
  this.name,
  this.subject,
  this.hidden = false,
  this.v = 2,
  this.customData,
});