BitField<T extends dynamic> class

A BitField over an enum (or other class whose values implement "index"). Only the first 62 values of the enum can be used as indices.

Constructors

BitField(int _length)
Creates a bit field of all zeros. [...]
BitField.filled(int _length, bool value)
Creates a bit field filled with a particular value. [...]

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

reset([bool value = false ]) → void
Sets all the bits to the given value. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator [](T index) → bool
Returns whether the bit with the given index is set to one.
operator []=(T index, bool value) → void
Sets the bit with the given index to the given value. [...]
operator ==(dynamic other) → bool
The equality operator. [...]
inherited