TypeHelperContextWithConfig class abstract

Extended context information with includes configuration values corresponding to JsonSerializableGenerator settings.

Inheritance

Properties

classElement → ClassElement
The annotated class that code is being generated for.
no setterinherited
config ClassConfig
no setter
fieldElement → FieldElement
The field that code is being generated for.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addMember(String memberContent) → void
Adds memberContent to the set of generated, top-level members.
inherited
deserialize(DartType fieldType, String expression) Object?
expression may be just the name of the field or it may an expression representing the serialization of a value.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(DartType fieldType, String expression) Object?
expression may be just the name of the field or it may an expression representing the serialization of a value.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited