getType method
Gets the preserved generic type information.
This is the type that will be used for reflection system lookups, maintaining the generic type parameter that would otherwise be erased.
Example:
final annotation = const Generic(Set, 'dart:core');
print(annotation.getType()); // Set
Returns: The preserved generic Type for reflection lookups
Implementation
Type getType() => _type;