JsonSerializable class

This abstract class is the base class for all generated models.

Constructors

JsonSerializable()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

fromJsArray<T>(String json) List<T>
Invoked for List types and needs a json array string as input.
fromJson<T>(String json, {T seed}) → T
Invoked for core types and for unknown ones having no explicit write method specified.
typedMapFromObject<T>(String json) Map<String, T>
Invoked for Map<String, T> types and needs a json object string as input.