DeepAdapter<T> class abstract

A type adapter that also takes a list of adapters, allowing deep serialisation. Use this for classes that contain other serialisable classes.

Inheritance
Implementers

Constructors

DeepAdapter()

Properties

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

Methods

build(Map<String, dynamic>? params, {List<BishopTypeAdapter> adapters = const []}) → T
override
deserialise<X>(dynamic input, {List<BishopTypeAdapter> adapters = const [], bool strict = true, X? fallback(dynamic input)?}) → X?
A shortcut for BishopSerialisation.build.
export(T e, {List<BishopTypeAdapter> adapters = const []}) Map<String, dynamic>?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialise<X>(X object, {List<BishopTypeAdapter> adapters = const [], bool strict = true}) → dynamic
A shortcut for BishopSerialisation.export.
toString() String
A string representation of this object.
inherited

Operators

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