Bitmask class abstract

A generic implementation of the Bitmask type.

Each value must be a power of two.

Inheritance

Constructors

Bitmask(int value)
const

Properties

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
finalinherited

Methods

isOn(int mask) bool
Checks flag activity.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getMask(Iterable<Bitmask> list) int
Returns mask value on value list.