EasyTime class

A utility class that defines a time duration in hours, minutes, and seconds.

Constructors

EasyTime.new({int hours = 0, int minutes = 0, int seconds = 0})
Creates an EasyTime object with hours, minutes, and seconds.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
hours int
Number of hours.
final
minutes int
Number of minutes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seconds int
Number of seconds.
final
toSeconds int
Converts the given hours, minutes, and seconds into total seconds.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited