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

Constructors

DurationUtility(T builder(Duration))
const

Properties

builder → T Function(Duration)
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(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