MethodChannelSystemDateTimeChange class
An implementation of SystemDateTimeChangePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SystemDateTimeChangePlatform
- MethodChannelSystemDateTimeChange
Constructors
Properties
- eventChannel → EventChannel
-
The event channel for date/time change events
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
-
onDateTimeChanged
→ Stream<
DateTimeChangeEvent> -
Stream of date/time change events
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkDateTimeStatus(
) → Future< DateTimeChangeStatus> -
Check current date/time status
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startListening(
) → Future< void> -
Start listening for date/time changes
override
-
stopListening(
) → Future< void> -
Stop listening for date/time changes
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited