Annotation constructor

Annotation({
  1. String? label,
  2. String? labelMarkdown,
  3. ReadonlyArray<AnnotationProperty>? properties,
  4. String? categoryId,
})

Implementation

factory Annotation({
  _i2.String? label,
  _i2.String? labelMarkdown,
  _i4.ReadonlyArray<_i3.AnnotationProperty>? properties,
  _i2.String? categoryId,
}) =>
    Annotation._(
      label: label,
      labelMarkdown: labelMarkdown,
      properties: properties ?? _i7.undefined,
      categoryId: categoryId,
    );