HoursMinutes class

Constructors

HoursMinutes({required int hours, required int minutes})
const
HoursMinutes.fromMinutes(int totalMinutes)
factory
HoursMinutes.fromRange(HourMinute start, HourMinute end)
factory
HoursMinutes.fromRawValue(String rawValue)
factory
HoursMinutes.zero()
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
hours int
final
isZero bool
no setter
minutes int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalMinutes int
no setter

Methods

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

Operators

operator +(HoursMinutes other) HoursMinutes
operator -(HoursMinutes other) HoursMinutes
operator <(HoursMinutes other) bool
operator <=(HoursMinutes other) bool
operator ==(Object other) bool
The equality operator.
override
operator >(HoursMinutes other) bool
operator >=(HoursMinutes other) bool