getUri method
Gets the source location URI if provided.
While not required for functionality, this enables better tooling support when debugging reflected generic types.
Example:
final annotation = const Generic(Set, 'dart:core');
print(annotation.getType()); // Set
Returns:
The source String URI if available, otherwise null
Implementation
String? getUri() => _uri;