FlutterTimezoneObserverPlatform class abstract

The abstract platform interface for the flutter_timezone_observer plugin.

This interface defines the contract that all platform-specific implementations must adhere to. It uses a token-based system to ensure that only registered implementations can be used.

Implementations of this interface should extend FlutterTimezoneObserverPlatform rather than implementing it directly.

Inheritance
  • Object
  • PlatformInterface
  • FlutterTimezoneObserverPlatform
Implementers

Properties

currentTimezone → Future<String>
Fetches the current IANA timezone name from the native platform.
no setter
hashCode → int
The hash code for this object.
no setterinherited
onTimezoneChanged → Stream<String>
A Stream that emits the new IANA timezone name whenever the device's timezone is changed.
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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ FlutterTimezoneObserverPlatform
The singleton instance of the FlutterTimezoneObserverPlatform.
getter/setter pair