EventSample class

Constructors

EventSample(int timestamp, bool isEventGC, bool isEventSnapshot, bool isEventSnapshotAuto, AllocationAccumulator? allocationAccumulator, ExtensionEvents? extensionEvents)
EventSample.accumulatorContinues(int timestamp, {ExtensionEvents? events})
EventSample.accumulatorReset(int timestamp, {ExtensionEvents? events})
EventSample.accumulatorStart(int timestamp, {ExtensionEvents? events})
EventSample.extensionEvent(int timestamp, ExtensionEvents? extensionEvents)
EventSample.fromJson(Map<String, dynamic> json)
factory
EventSample.gcEvent(int timestamp, {ExtensionEvents? events})
EventSample.snapshotEvent(int timestamp, {bool snapshotAuto = false, ExtensionEvents? events})

Properties

allocationAccumulator AllocationAccumulator?
final
extensionEvents ExtensionEvents?
final
hasExtensionEvents bool
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isEventAllocationAccumulator bool
no setter
isEventGC bool
final
isEventSnapshot bool
final
isEventSnapshotAuto bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
final

Methods

clone(int timestamp, {ExtensionEvents? extensionEvents}) EventSample
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

empty() EventSample
Create an empty event (all values are nothing)

Constants

version → const int
Version of EventSample JSON payload.