TimeZone class

Represents a time zone from the IANA Time Zone Database.

Constructors

TimeZone({Input<String>? id, Input<String>? version})
Creates a new TimeZone. id IANA Time Zone Database time zone, e.g. "America/New_York". version Optional. IANA Time Zone Database version number, e.g. "2019a".
const
TimeZone.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>?
IANA Time Zone Database time zone, e.g. "America/New_York".
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → Input<String>?
Optional. IANA Time Zone Database version number, e.g. "2019a".
final

Methods

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

Operators

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