Timeline class
Add to the timeline.
Static Properties
- now → int read-only
-
The current time stamp from the clock used by the timeline. Units are microseconds.
Static Methods
- finishSync(
) → void -
Finish the last synchronous operation that was started.
- instantSync(
String name, { Map arguments }) → void -
Emit an instant event.
- startSync(
String name, { Map arguments }) → void -
Start a synchronous operation labeled
name
. Optionally takes a Map ofarguments
. This operation must be finished before returning to the event queue. - timeSync(
String name, TimelineSyncFunction function, { Map arguments }) → dynamic -
A utility method to time a synchronous
function
. Internally callsfunction
bracketed by calls to startSync and finishSync.
Constructors
- Timeline()
Properties
- hashCode → int read-only, inherited
-
The hash code for this object.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- toString(
) → String inherited -
Returns a string representation of this object.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-developer/Timeline-class.html