JSON class
Main class that offers serialize and deserialize methods
Constructors
Properties
- converters ↔ Converters
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mappers
↔ Map<
Type, JSONMapper> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validate → bool
-
final
Methods
-
getConvert(
Type sourceType) → Convert? -
getMapper(
Type type) → JSONMapper -
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
Static Properties
Static Methods
-
deserialize<
T> (Map< String, dynamic> json) → T -
deserialize an 'JSON' to the specified class
T
the expected typejson
a 'JSON' map -
getConvert4(
Type type) → Convert -
serialize(
dynamic instance) → Map< String, dynamic> -
serialize an instance to a 'JSON' map
instance
an instance