TimeZone class

Represents a time zone from the IANA Time Zone Database.

Constructors

TimeZone()
TimeZone.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
id String
IANA Time Zone Database time zone, e.g. "America/New_York".
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
version String
Optional. IANA Time Zone Database version number, e.g. "2019a".
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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