Packed class Null safety

Annotation to specify on Struct subtypes to indicate that its members need to be packed.

Valid values for memberAlignment are 1, 2, 4, 8, and 16.

Constructors

Packed(int memberAlignment)
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
memberAlignment int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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