Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
typeChecker
→ TypeChecker
-
latefinal
Methods
-
deserialize(DartType targetType, String expression, TypeHelperContextWithConfig context, bool defaultProvided)
→ Object?
-
Returns Dart code that deserializes an
expression
representing a JSON
literal to into targetType
.
-
deserializeFromMapExpression(String mapExpression, DartType keyType, DartType valueType)
→ String
-
Deserialize your custom map from an expression, that evaluates to an
Iterable
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(DartType targetType, String expression, TypeHelperContext context)
→ Object?
-
Returns Dart code that serializes an
expression
representing a Dart
object of type targetType
.
-
serializeToMapExpression(String mapExpression, DartType keyType, DartType valueType, bool isMapExpressionNullable)
→ String
-
Serialize your custom map implementation to a standard Map.
-
toString()
→ String
-
A string representation of this object.
inherited