CountDownController class
Controls (i.e Start, Pause, Resume, Restart) the Countdown Timer.
Constructors
Properties
Methods
-
getTime(
) → String? - This Method returns the Current Time of Countdown Timer i.e Time Used in terms of Forward Countdown and Time Left in terms of Reverse Countdown
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → void - This Method Pauses the Countdown Timer
-
reset(
) → void - This Method resets the Countdown Timer
-
restart(
{int? duration}) → void - This Method Restarts the Countdown Timer, Here optional int parameter duration is the updated duration for countdown timer
-
resume(
) → void - This Method Resumes the Countdown Timer
-
start(
) → void - This Method Starts the Countdown Timer
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited