getFieldsWithDefaults abstract method
Returns a map of the annotation's fields that have default values, keyed by their name.
This map contains the fields of the annotation that have default values in the order they were declared. If no fields have default values, the map will be empty.
Example
final annotation = ...;
final fieldsWithDefaults = annotation.getFieldsWithDefaults();
print(fieldsWithDefaults['value']); // ReflectedAnnotationField(...)
Implementation
Map<String, AnnotationFieldDeclaration> getFieldsWithDefaults();