TimeZoneType enum

Enum representing timezone types for timeline data

Inheritance
Available extensions

Values

local → const TimeZoneType

Local timezone (device timezone)

utc → const TimeZoneType

UTC timezone (Coordinated Universal Time)

Properties

displayName → String
Returns a human-readable string representation
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isLocal → bool
Returns true if this is local timezone
no setter
isUtc → bool
Returns true if this is UTC timezone
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
toBool() → bool
Converts the enum to a boolean for backward compatibility Returns true for local, false for UTC
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromBool(bool isLocal) → TimeZoneType
Creates TimeZoneType from boolean true = local, false = UTC

Constants

values → const List<TimeZoneType>
A constant List of the values in this enum, in order of their declaration.