TimeOfDay class

Constructors

TimeOfDay({required int hour, required int minute, int second = 0})
const
TimeOfDay.am({required int hour, required int minute, int second = 0})
const
TimeOfDay.fromDateTime(DateTime dateTime)
TimeOfDay.fromDuration(Duration duration)
TimeOfDay.now()
TimeOfDay.pm({required int hour, required int minute, int second = 0})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
hour int
final
minute int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int
final

Methods

copyWith({int? hour, int? minute, int? second}) TimeOfDay
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replacing({int? hour, int? minute, int? second}) TimeOfDay
For backward compatibility
toString() String
A string representation of this object.
override

Operators

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