declarationType property

  1. @override
String get declarationType
override

The type of declaration (function, class, variable, enum, extension).

Implementation

@override
String get declarationType => 'enum';