CockpitPerformanceEvent class final
A bounded VM timeline event retained for the exported performance report.
Constructors
-
CockpitPerformanceEvent({required String name, required String category, required int timestampUs, required int durationUs, Map<
String, Object?> args = const <String, Object?>{}, String? phase, int? processId, int? threadId, String? eventId, String? scope, String? bindId, String? source, String? isolateId, String? uri, int? line, int? column}) - CockpitPerformanceEvent.fromJson(Object? value)
-
factory
Properties
-
args
→ Map<
String, Object?> -
final
- bindId → String?
-
final
- category → String
-
final
- column → int?
-
final
- durationUs → int
-
final
- eventId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isolateId → String?
-
Isolate and source location metadata supplied by the instrumentation
source. Missing runtime fields remain absent rather than guessed.
final
- isValid → bool
-
no setter
- line → int?
-
final
- name → String
-
final
- phase → String?
-
final
- processId → int?
-
Process/thread and trace identity copied from the VM trace when present.
Keeping these optional preserves truthful data on runtimes that omit them
while allowing Chrome/Perfetto exports to retain their real lanes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
final
- source → String?
-
The explicit instrumentation source, normally a registered plugin id.
VM-originated events leave this absent because their source is already
identified by the report's timeline metadata.
final
- threadId → int?
-
final
- timestampUs → int
-
final
- uri → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override