JsonSerializable class
This abstract class is the base class for all generated models.
Constructors
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
-
toJson(
) → Map< String, dynamic> - Returns a map representing the json output which will be used by dart to serialize the class. [...]
-
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 ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
fromJsArray<
T> (String json) → List< T> -
Gets invoked for List
types and needs a json array string as input. -
fromJson<
T> (String json) → T - Gets invoked for core types and for unknown ones having no explicit write method specified.
-
typedMapFromObject<
T> (String json) → Map< String, T> - Gets invoked for Map<String, T> types and needs a json object string as input.