UDocMarkup constructor

const UDocMarkup({
  1. required String id,
  2. required UDocMarkupKind kind,
  3. required int pageIndex,
  4. required Color color,
  5. required DateTime createdAt,
  6. required DateTime updatedAt,
  7. String groupId = "",
  8. int blockIndex = -1,
  9. int start = 0,
  10. int end = 0,
  11. String text = "",
  12. List<Rect> rects = const <Rect>[],
  13. String note = "",
  14. Map<String, Object?> extra = const <String, Object?>{},
})

Implementation

const UDocMarkup({
  required this.id,
  required this.kind,
  required this.pageIndex,
  required this.color,
  required this.createdAt,
  required this.updatedAt,
  this.groupId = "",
  this.blockIndex = -1,
  this.start = 0,
  this.end = 0,
  this.text = "",
  this.rects = const <Rect>[],
  this.note = "",
  this.extra = const <String, Object?>{},
});