displayName property

String get displayName

Implementation

String get displayName {
  switch (this) {
    case AnnotationMode.view:
      return 'View';
    case AnnotationMode.draw:
      return 'Draw';
    case AnnotationMode.note:
      return 'Note';
    case AnnotationMode.shape:
      return 'Shape';
    case AnnotationMode.highlight:
      return 'Highlight';
    case AnnotationMode.select:
      return 'Select';
  }
}