Packed class final

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.

Annotations
  • @Since('2.13')

Constructors

Packed(int memberAlignment)
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
memberAlignment int
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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