TimeOfDay class Null safety

A time on a day. Used in a ScheduledTrigger.

Follows the conventions in the DartTime class, but only uses the Time part in a 24 hour time format.

Annotations

Constructors

TimeOfDay({int hour = 0, int minute = 0, int second = 0})
TimeOfDay.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
hour int
24 hour format.
read / write
minute int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
second int
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
Output as ISO 8601 extended time format with seconds accuracy, omitting the 24th hour and 60th leap second. E.g., "09:30:00".
override

Operators

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