StructField constructor
Constructs a StructField annotation.
offset
: The offset of the field within the struct.size
: The size of the field. Defaults to 1.packed
: Whether the field is packed. Defaults to false.
Implementation
const StructField(this.offset, {this.size = 1, this.packed = false});