JsonObjectConverter<TFrom, TTo> class

Inheritance

Constructors

JsonObjectConverter({required TTo fromJsonFn(TFrom value), required TFrom toJsonFn(TTo value)})
const

Properties

fromJsonFn → TTo Function(TFrom value)
final
fromType String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJsonFn → TFrom Function(TTo value)
final
toType String
no setterinherited

Methods

fromJson(TFrom value) → TTo
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(TTo value) → TFrom
override
toString() String
A string representation of this object.
inherited

Operators

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