CacheSerializable class abstract interface

Interface for declarations that can serialize/deserialize to/from binary cache.

All declaration classes implement this interface to provide a single source of truth for both runtime and cache serialization. The serializer delegates to these methods, ensuring any changes to the declaration structure only need to be made in one place.

Implementers

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(BinaryBuilder builder) → void
Interface for declarations that can serialize/deserialize to/from binary cache.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

deserialize(BinaryReader reader) → dynamic
Deserializes this declaration from binary format.