JsonConverter<T> class abstract

A small interface for classes that can be used as a json converter for T

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dataFromJson(dynamic json) → T
A virtual method that converts a json object to a data type.
dataToJson(T data) → dynamic
A virtual method that converts a data type to a json object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchData(T data, Map<String, dynamic> updatedFields) → T
A virtual method that applies a set of updatedFields on existing data.
toString() String
A string representation of this object.
inherited

Operators

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