menu
ari_utils
ari_utils
Logical
toBit static method
toBit
brightness_4
toBit
static method
Null safety
int
toBit
(
bool
b
)
Takes bool and returns 1 if true 0 if false
Implementation
static int toBit(bool b) => b ? 1 : 0;
ari_utils
ari_utils
Logical
toBit static method
Logical class
Constructors
Logical
Properties
hashCode
runtimeType
Methods
noSuchMethod
toString
Operators
operator ==
Static methods
all
any
nor
not
toBit
xand
xor