fullName property

String get fullName

Returns the annotation type in the format "pspdfkit/type/variant"

Implementation

String get fullName {
  switch (this) {
    case AnnotationType.all:
      return 'pspdfkit/all';
    case AnnotationType.none:
      return 'pspdfkit/none';
    case AnnotationType.undefined:
      return 'pspdfkit/undefined';
    case AnnotationType.link:
      return 'pspdfkit/link';
    case AnnotationType.highlight:
      return 'pspdfkit/markup/highlight';
    case AnnotationType.strikeout:
      return 'pspdfkit/markup/strikeout';
    case AnnotationType.underline:
      return 'pspdfkit/markup/underline';
    case AnnotationType.squiggly:
      return 'pspdfkit/markup/squiggly';
    case AnnotationType.freeText:
      return 'pspdfkit/text';
    case AnnotationType.ink:
      return 'pspdfkit/ink';
    case AnnotationType.square:
      return 'pspdfkit/shape/rectangle';
    case AnnotationType.circle:
      return 'pspdfkit/shape/ellipse';
    case AnnotationType.line:
      return 'pspdfkit/shape/line';
    case AnnotationType.note:
      return 'pspdfkit/note';
    case AnnotationType.stamp:
      return 'pspdfkit/stamp';
    case AnnotationType.caret:
      return 'pspdfkit/caret';
    case AnnotationType.file:
      return 'pspdfkit/file';
    case AnnotationType.sound:
      return 'pspdfkit/sound';
    case AnnotationType.polygon:
      return 'pspdfkit/shape/polygon';
    case AnnotationType.polyline:
      return 'pspdfkit/shape/polyline';
    case AnnotationType.screen:
      return 'pspdfkit/screen';
    case AnnotationType.widget:
      return 'pspdfkit/widget';
    case AnnotationType.watermark:
      return 'pspdfkit/watermark';
    case AnnotationType.trapNet:
      return 'pspdfkit/trapnet';
    case AnnotationType.type3d:
      return 'pspdfkit/3d';
    case AnnotationType.redact:
      return 'pspdfkit/markup/redaction';
    case AnnotationType.image:
      return 'pspdfkit/image';
    case AnnotationType.media:
      return 'pspdfkit/media';
    case AnnotationType.popup:
      return 'pspdfkit/popup';
  }
}