Time class
Time is used as a way to serialize and deserialize time based notations.
When interacting with this, you can even parse Durations
Constructors
Properties
Methods
-
add(
Time time) → void -
apply(
int seconds) → void -
autofix(
) → void -
copy(
) → Time -
getTotalSeconds(
) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subtract(
Time time) → void -
tickDown(
) → void -
tickUp(
) → void -
toDuration(
) → Duration -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDuration(
Duration duration) → Time