Time class

Represents a specific point in time, with an associated time zone.

This is typically used to specify the start or end time of an event.

Constructors

Time({String? dateTime, String? timeZone})
Creates a new instance of Time.
Time.fromJson(Map<String, dynamic> json)
Creates a new instance of Time from a JSON object.
factory

Properties

dateTime String?
The date and time, in ISO 8601 format.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeZone String?
The time zone in which the date and time are specified.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this Time instance to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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