DurationBuilder class
Builder for Duration
Constructors
- DurationBuilder([void updates(DurationBuilder b)?])
- DurationBuilder.of(Duration duration)
-
factory
Properties
- days ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hours ↔ int
-
getter/setter pair
- microseconds ↔ int
-
getter/setter pair
- milliseconds ↔ int
-
getter/setter pair
- minutes ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seconds ↔ int
-
getter/setter pair
Methods
-
build(
) → Duration -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replace(
Duration duration) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
void updates(DurationBuilder b)?) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited