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

Constructors

BoolUtility(T builder(bool))
const

Properties

builder → T Function(bool)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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