getFieldsWithUserValues abstract method

Map<String, AnnotationFieldDeclaration> getFieldsWithUserValues()

Returns a map of the annotation's fields that have user-provided values, keyed by their name.

This map contains the fields of the annotation that have user-provided values in the order they were declared. If no fields have user-provided values, the map will be empty.

Example

final annotation = ...;
final fieldsWithUserValues = annotation.getFieldsWithUserValues();
print(fieldsWithUserValues['value']); // ReflectedAnnotationField(...)

Implementation

Map<String, AnnotationFieldDeclaration> getFieldsWithUserValues();