AdjustedClock class abstract

Implemented types

Constructors

AdjustedClock()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isValid() bool
Usable only in runWithBlockUi or listener handlers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
now() DateTime
This method returns the time that has been synchronized with Yandex servers. Use it if you don't trust the time on the local device because the user could have set it incorrectly. If time synchronization has failed or not yet finished, the returned value equals the local device's time. Return POSIX time. For more information, see https://en.wikipedia.org/wiki/Unix_time.
pause() → void
Notifies AdjustedClock when the application pauses and goes to the background.
resume() → void
Notifies AdjustedClock when the application resumes the foreground state.
toString() String
A string representation of this object.
inherited

Operators

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