Coding class

A base class for encodable and decodable objects.

Types that can read or write their values to a document should extend this abstract class. By overriding decode and encode, an instance of this type will read or write its values into a data container that can be transferred into formats like JSON or YAML.

Constructors

Coding()

Properties

castMap → Map<String, Cast>
read-only
referenceURI ↔ Uri
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decode(KeyedArchive object) → void
@mustCallSuper
encode(KeyedArchive object) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited