MobxListTypeHelper class

Constructors

MobxListTypeHelper()

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
latefinalinherited

Methods

deserialize(DartType targetType, String expression, TypeHelperContextWithConfig context, bool defaultProvided) String?
Returns Dart code that deserializes an expression representing a JSON literal to into targetType.
inherited
deserializeFromIterableExpression(String expression, DartType resolvedGenericType) String
convert the given expression for deserialization. the expression is Dart code that evaluates to an iterable, so you need to convert this iterable to your custom type @param expression the expression, that evaluates to an Iterable @param resolvedGenericType the generic type of the list that will be deserialized @return A String, which is a Dart expression that evaluates to your custom Iterable type
genericType(DartType type) → DartType
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(DartType targetType, String expression, TypeHelperContextWithConfig context) String?
Returns Dart code that serializes an expression representing a Dart object of type targetType.
inherited
serializeToList(String expression, DartType resolvedGenericType, bool isExpressionNullable) String
convert the given expression for serialization. The expression is dart code that evaluates to your custom iterable type. you need to return an expression that evaluates to a Dart list
toString() String
A string representation of this object.
inherited

Operators

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