TypeAdapter<T> class

Type adapters can be implemented to support non primitive values.

Annotations

Constructors

TypeAdapter()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
typeId int
Called for type registration
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read(BinaryReader reader) → T
Is called when a value has to be decoded.
toString() String
Returns a string representation of this object.
inherited
write(BinaryWriter writer, T obj) → void
Is called when a value has to be encoded.

Operators

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