dumpState method
Dump the state of the cell to a value.
The value returned by this method must be a primitive value, encodable by
StandardMessageCodec
, which can later be passed to restoreState to
restore the state of the cell to the state at the time of calling this
method.
coder
is the CellValueCoder object which should be used for encoding
the cell's value.
Implementation
@override
Object? dumpState(CellValueCoder coder) {
return coder.encode(value);
}