getType abstract method

Type getType()

Gets the runtime type of the annotation.

Returns:

  • The runtime type of the annotation

Example:

final type = annotation.getType();
print('Annotation type: $type');

Implementation

Type getType();