decodeSelfFromSelfEncoder method

void decodeSelfFromSelfEncoder(
  1. SelfEncoder value
)

Decodes state from the SelfEncoder.

Implementation

void decodeSelfFromSelfEncoder(SelfEncoder value) {
  final byteData = value.toImmutableByteData();
  final reader = new RawReader.withByteData(byteData);
  decodeSelf(reader);
}