DurationUtility<T extends Attribute> class
A utilyt class for creating Attribute instances from Duration values.
This class extends ScalarUtility and provides methods to create Attribute instances from predefined Duration values or custom Duration values.
- Inheritance
-
- Object
- MixUtility<
T, Duration> - ScalarUtility<
T, Duration> - DurationUtility
Constructors
- DurationUtility(T builder(Duration))
-
const
Properties
Methods
-
call(
Duration value) → T -
inherited
-
microseconds(
int microseconds) → T -
milliseconds(
int milliseconds) → T -
minutes(
int minutes) → T -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
seconds(
int seconds) → T -
toString(
) → String -
A string representation of this object.
inherited
-
zero(
) → T
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited