TimeZone class

Represents a time zone.

This is typically used to specify the time zone of an event or of a user's working hours.

Constructors

TimeZone({required String alias, required String displayName})
Creates a new instance of TimeZone.
TimeZone.fromJson(Map<String, dynamic> json)
Creates a new instance of TimeZone from a JSON object.
factory

Properties

alias String
The alias of the time zone.
final
displayName String
The display name of the time zone.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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