DataModelAdapter<T> class
final
Converts T to and from JSON for the object methods of
UnifiedDataSource, such as putObject and getObject.
Constructors
-
DataModelAdapter({required FromJson<
T> fromJson, required ToJson<T> toJson}) -
Creates an adapter from a pair of conversion functions.
const
Properties
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