AnnotationFinderWithFieldRename<Annotation extends Object> mixin
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
annotationForField(FieldElement field)
→ Annotation
-
Given a field element, retrieve the
Annotation
equivalent
inherited
-
from(FieldElement element)
→ Annotation
-
Create a
Annotation
based on a FieldElement
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
objectForField(FieldElement field)
→ DartObject?
-
Find annotation for
FieldElement
if one exists
inherited
-
renameField(String name, FieldRename? configValue, FieldRename defaultValue)
→ String
-
Change serialization key based on the configuration.
name
defined with a field annotation takes precedence.
-
toString()
→ String
-
A string representation of this object.
inherited
-
valueForDynamicField(String fieldName, FieldElement element)
→ dynamic
-
Return the actual value for fields of an element that could be one of any primitive
inherited