JsonConvert<D, J> class

Specifies how to convert a JSON value to a Dart object and vice versa.

Constructors

JsonConvert({D fromJson(J)?, J toJson(D)?})
Specifies how to convert a JSON value to a Dart object and vice versa.
const

Properties

fromJson → (D Function(J)?)
Converts a JSON value to a Dart object.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJson → (J Function(D)?)
Converts a Dart object to a JSON value.
final

Methods

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