RichMediaAnnotation constructor

RichMediaAnnotation({
  1. String? id,
  2. required List<double> bbox,
  3. String? createdAt,
  4. String? creatorName,
  5. String? contentType,
  6. String? fileName,
  7. String? description,
  8. required String mediaAttachmentId,
  9. String mediaSource = 'richMedia',
  10. Map<String, dynamic>? encoding,
  11. String? mediaType,
  12. String? source,
  13. Map<String, dynamic>? params,
  14. AnnotationAttachment? attachment,
  15. required int pageIndex,
  16. double opacity = 1.0,
  17. int? pdfObjectId,
  18. List<AnnotationFlag>? flags,
  19. String? updatedAt,
  20. String? name,
  21. String? subject,
  22. bool hidden = false,
  23. Map<String, dynamic>? customData,
})

Implementation

RichMediaAnnotation({
  super.id,
  required super.bbox,
  super.createdAt,
  super.creatorName,
  this.contentType,
  this.fileName,
  this.description,
  required this.mediaAttachmentId,
  this.mediaSource = 'richMedia',
  this.encoding,
  this.mediaType,
  this.source,
  this.params,
  this.attachment,
  required super.pageIndex,
  super.opacity,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.name,
  super.subject,
  super.hidden,
  super.customData,
}) : super(type: AnnotationType.media);