testAccess method
Whether this field is present/valid for struct.
Defaults to true (fixed-schema). Override for optional/sparse fields.
Implementation
@override
bool testAccess(BitStruct<BitField> struct) => bitmask.shift + bitmask.width <= struct.width;