BoolUtility<T extends Attribute> class
A utility class for creating Attribute instances from bool values.
This class extends ScalarUtility and provides methods to create Attribute instances from predefined bool values or custom bool values.
- Inheritance
-
- Object
- MixUtility<
T, bool> - ScalarUtility<
T, bool> - BoolUtility
Constructors
- BoolUtility(T builder(bool))
-
const
Properties
Methods
-
call(
bool value) → T -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off(
) → T -
Creates an Attribute instance with a value of
false. -
on(
) → T -
Creates an Attribute instance with a value of
true. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited