getAnnotation method
Returns the first annotation with the given name, or null if no such
Implementation
@override
ElementAnnotation? getAnnotation(String name) {
return metadata.firstWhereOrNull((ElementAnnotation e) => e.name == name);
}
Returns the first annotation with the given name, or null if no such
@override
ElementAnnotation? getAnnotation(String name) {
return metadata.firstWhereOrNull((ElementAnnotation e) => e.name == name);
}