SelfDecoder mixin

A mixin that allows an object to decode its state using a RawReader.

This mixin intentionally declares an abstract method (decodeSelf) so it can be implemented by the consumer class.

Mixin applications

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

decodeSelf(RawReader reader) → void
Decodes the current object from the given RawReader.
decodeSelfFromSelfEncoder(SelfEncoder value) → void
Decodes this object from a SelfEncoder by first serializing it to immutable bytes and then reading them via RawReader.
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