CellValueCoder class
Cell value encoder and decoder interface.
The base implementation simply passes through the values both in encode
and decode, thus it can only be used to encode and decode values
supported by StandardMessageCodec
.
This class should be subclassed to support cell restoration of cells holding
values not supported by StandardMessageCodec
.
Constructors
- CellValueCoder()
-
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
-
decode(
Object? primitive) → dynamic -
Decoder the value from
primitive
-
encode(
dynamic value) → Object? -
Convert
value
to a primitive value. -
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