ASTBinarySectionData class

One section of a binary AST file: an identifier and its payload.

The container treats every payload as opaque bytes; only the sections' framing is its concern.

Constructors

ASTBinarySectionData(int id, Uint8List payload)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
The section identifier. See ASTBinarySection for the ones this build knows; any other id is carried through and skipped on read.
final
payload Uint8List
The section's bytes, excluding its id and length prefix.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section ASTBinarySection?
The known section this id maps to, or null when unrecognized.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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