TypeAdapter<T> class Null safety

Type adapters can be implemented to support non primitive values.

Annotations

Constructors

TypeAdapter()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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
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