Coding class Null safety

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
hashCode int
The hash code for this object. [...]
read-only, inherited
referenceURI Uri?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited