BitIndexField class abstract mixin

BitIndexField /// Special case: single-bit field addressed by index.

Implemented types

Constructors

BitIndexField()

Properties

bitmask Bitmask
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
index int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getIn(covariant BitStruct<BitField> struct) int
Read this field's value from struct.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setIn(covariant BitStruct<BitField> struct, int value) → void
Write value into this field of struct.
override
testAccess(covariant BitStruct<BitField> struct) bool
Whether this field is present/valid for struct. Defaults to true (fixed-schema). Override for optional/sparse fields.
override
toString() String
A string representation of this object.
inherited

Operators

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