NeomStopwatch class

Constructors

NeomStopwatch.new()
factory

Properties

currentReference String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

elapsed(String ref) int
Retorna el tiempo total reproducido para la referencia ref
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause(String ref) → void
Pausa el stopwatch para ref y acumula el tiempo transcurrido
reset(String ref) → void
(Opcional) Limpia el stopwatch y el acumulado para ref
start(String ref) → void
Inicia (o reanuda) el stopwatch para la referencia ref
stop({String? ref}) int
Detiene el stopwatch para ref (pausándolo si está corriendo) y devuelve el tiempo total
stopAndClear(String ref) int
(Opcional) Detiene y remueve el stopwatch para ref devolviendo el tiempo total
toString() String
A string representation of this object.
inherited

Operators

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