TimeOfDay class

Represents a time of day for quiet hours.

Constructors

TimeOfDay.new({required int hour, required int minute})
Creates a time of day.
const
TimeOfDay.fromMap(Map<String, dynamic> map)
Creates time of day from a map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hour int
The hour (0-23).
final
minute int
The minute (0-59).
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

fromJson(String json) TimeOfDay
Converts the object from a JSON string representation.
inherited
fromMap(Map<String, dynamic> map) TimeOfDay
Converts the object from a Map representation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts the object to a JSON string representation.
inherited
toMap() Map<String, dynamic>
Converts the BaseDataModel object to a Map representation.
toString() String
A string representation of this object.

Operators

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