AnnotWithFlag constructor

AnnotWithFlag(
  1. String? annotId,
  2. int? pageNumber,
  3. String? flag,
  4. bool? flagValue,
)

Implementation

AnnotWithFlag(
    String? annotId, int? pageNumber, String? flag, bool? flagValue) {
  annotation = new Annot(annotId, pageNumber);
  flags = new List<AnnotFlag>.empty(growable: true);
  flags.add(new AnnotFlag(flag, flagValue));
}