SerializationAdapter<T> class abstract interface

Extends RPC serialization with one tagged domain value.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → String
Wire tag that identifies values handled by this adapter.
no setter

Methods

canEncode(Object value) → bool
Whether value can be encoded by this adapter.
decode(Object? value, Serializer serializer) → T
Reconstructs a value from its decoded wire representation.
encode(T value, Serializer serializer) → Object?
Converts value to a serializer-supported representation.
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