TimerAPI class

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TimerAPI.new({num? remaining, num? total, State? state, void pause()?, void resume()?, void start(num)?, void stop()?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pause ↔ void Function()

Available on TimerAPI, provided by the TimerAPI$Typings extension

getter/setter pair
remaining num

Available on TimerAPI, provided by the TimerAPI$Typings extension

no setter
resume ↔ void Function()

Available on TimerAPI, provided by the TimerAPI$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start ↔ void Function(num)

Available on TimerAPI, provided by the TimerAPI$Typings extension

getter/setter pair
state State

Available on TimerAPI, provided by the TimerAPI$Typings extension

no setter
stop ↔ void Function()

Available on TimerAPI, provided by the TimerAPI$Typings extension

getter/setter pair
total num

Available on TimerAPI, provided by the TimerAPI$Typings extension

no setter

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