TimedBlock class final

Provides start, end, and duration of a named block of code, timed by FlutterTimeline.

Annotations

Constructors

TimedBlock({required String name, required double start, required double end})
Creates a timed block of code from a name, start, and end.
const

Properties

duration double
How long the measured block of code took to execute in microseconds.
no setter
end double
The timestamp in microseconds that marks the end of the measured block of code.
final
hashCode int
The hash code for this object.
no setterinherited
name String
A readable label for a block of code that was measured.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start double
The timestamp in microseconds that marks the beginning of the measured block of code.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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