TimeDetector class

Properties

comparingFormat String
SPECIFIC FORMAT TO COMPARE DATE VALUE
getter/setter pair
enableLog bool
ENABLE CONSOLE LOGS
no getter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changeDuration({Duration duration = DEFAULT_DURATION}) → void
CHANGE DURATION FOR TIMER PERIODIC
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
repeatDuration({Duration value = DEFAULT_REPEAT_DURATION}) → void
ONCE TIME HAS REACHED THIS DURATION WILL USED TO UPDATE NEW COMPARE TIME DEFAULT DEFAULT_REPEAT_DURATION
reStartTimer() → void
IF TIMER NULL / TIMER IS NOT IN ACTIVE ONLY WILL MAKE NEW TIMER
setChanged({required dynamic onChanged(DateTime)}) → void
setComparison({required DateTime input}) → void
COMPARING GIVEN VALUE WITH CURRENT TIME
stopTimer() → void
KILLING TIMER
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance TimeDetector
final