AnnotationFinderWithFieldRename<Annotation extends Object> mixin
Rename the field name to the value of FieldRename
- Superclass constraints
- AnnotationFinder<
Annotation>
- AnnotationFinder<
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
equivalentinherited -
from(
FieldElement element) → Annotation -
Create a
Annotation
based on aFieldElement
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 existsinherited -
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited