Serializer<I, O> class
abstract
Abstract base class for custom serializers. See Serializer for details.
- Implementers
Constructors
- Serializer()
-
Creates a Serializer
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deserialize(
O value) → I -
Function that converts from type
Oto typeI -
deserializeUntyped(
Object? value) → Object? -
Deserialize a value without requiring the caller to know
O. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
I value) → O -
Function that converts from type
Ito typeO -
serializeUntyped(
Object? value) → Object? -
Serialize a value without requiring the caller to know
I. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited