BitsInitializer<K extends BitField> class

BitsInitializer compile time const definition using map literal example = BitsInitializer({ EnumType.name1: 2, EnumType.name2: 3, });

Inheritance

Constructors

BitsInitializer(Map<K, int> _init)
const

Properties

bits Bits
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
no setterinherited
width int
no setteroverride

Methods

getBits(Bitmask mask) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset([bool fill = false]) → void
inherited
setBitAt(int index, int value) → void
inherited
setBits(Bitmask mask, int value) → void
inherited
setBitsAt(int offset, int width, int value) → void
inherited
setBoolAt(int index, bool value) → void
inherited
setByteAt(int index, int value) → void
inherited
setBytesAt(int index, int size, int value) → void
inherited
setEach(Iterable<(Bitmask, int)> entries) → void
inherited
toString() String
A string representation of this object.
inherited
toStringAsBinary() String
inherited
toStringAsBits() String
inherited
withBits(Bitmask mask, int value) BitData
inherited
withEach(Iterable<(Bitmask, int)> entries) BitData
inherited

Operators

operator ==(covariant BitData other) bool
The equality operator.
inherited