StructField class
Struct field metadata class
Constructors
- StructField.new({required int offset, required int size, StructAlignment alignment = StructAlignment.align4})
-
Constructs a StructField with the given offset, size, and alignment
const
Properties
- alignment → StructAlignment
-
The alignment of the field
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextOffset → int
-
Calculate the next field offset considering alignment
no setter
- offset → int
-
The offset of the field
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The size of the field
final
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