Logical class Null safety
Logic operators for booleans
Constructors
- Logical()
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
-
all(
List< bool?> args) → bool - Returns true if all entries are true, else false
-
any(
List< bool?> args) → bool - Returns true if any entry is true, else false
-
nor(
bool a, bool b) → bool -
not(
bool a) → bool -
toBit(
bool b) → int - Takes bool and returns 1 if true 0 if false
-
xand(
bool a, bool b) → bool -
xor(
bool a, bool b) → bool