discontinuedPackage usage has been discontinued.

AnalyticsTimer class

An object, returned by Analytics.startTimer, that is used to measure an asynchronous process.

Constructors

AnalyticsTimer(Analytics analytics, String variableName, {String? category, String? label})

Properties

analytics → Analytics
final
category → String?
final
currentElapsedMillis → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
label → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
variableName → String
final

Methods

finish() → Future<void>
Finish the timer, calculate the elapsed time, and send the information to analytics. Once this is called, any future invocations are no-ops.
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