RestFields class
Converts all fields to Rests for later consumption
Constructors
- RestFields(ClassElement element, [RestSerializableExtended? config])
-
Converts all fields to
Rests for later consumption
Properties
- config → RestSerializableExtended?
-
final
- element → ClassElement
-
The annotated element
finalinherited
- finder → RestAnnotationFinder
-
Searches for annotations on fields
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sorted
→ Iterable<
FieldElement> -
Returns a Set of all instance
FieldElementitems forelementand super classes, sorted first by their location in the inheritance hierarchy (super first) and then by their location in the source file.no setterinherited -
stableInstanceFields
→ Iterable<
FieldElement> -
ignore private,
static, andFunctionfieldsno setterinherited
Methods
-
annotationForField(
FieldElement element) → Rest -
Returns the annotation for a given field
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited