Event class
An Event
is an asynchronous notification from the VM. It is delivered only
when the client has subscribed to an event stream using the streamListen
RPC.
For more information, see events
.
Constructors
-
Event({String? kind, int? timestamp, IsolateGroupRef? isolateGroup, IsolateRef? isolate, VMRef? vm, Breakpoint? breakpoint, List<
Breakpoint> ? pauseBreakpoints, Frame? topFrame, InstanceRef? exception, String? bytes, InstanceRef? inspectee, String? gcType, String? extensionRPC, String? extensionKind, ExtensionData? extensionData, List<TimelineEvent> ? timelineEvents, List<String> ? updatedStreams, bool? atAsyncSuspension, String? status, LogRecord? logRecord, String? service, String? method, String? alias, String? flag, String? newValue, bool? last, String? updatedTag, String? previousTag, CpuSamplesEvent? cpuSamples, ByteData? data})
Properties
- alias ↔ String?
-
The alias of the registered service.
getter/setter pair
- atAsyncSuspension ↔ bool?
-
Is the isolate paused at an await, yield, or yield* statement?
getter/setter pair
- breakpoint ↔ Breakpoint?
-
The breakpoint which was added, removed, or resolved.
getter/setter pair
- bytes ↔ String?
-
An array of bytes, encoded as a base64 string.
getter/setter pair
- cpuSamples ↔ CpuSamplesEvent?
-
A CPU profile containing recent samples.
getter/setter pair
- data ↔ ByteData?
-
Binary data associated with the event.
getter/setter pair
- exception ↔ InstanceRef?
-
The exception associated with this event, if this is a PauseException
event.
getter/setter pair
- extensionData ↔ ExtensionData?
-
The extension event data.
getter/setter pair
- extensionKind ↔ String?
-
The extension event kind.
getter/setter pair
- extensionRPC ↔ String?
-
The RPC name of the extension that was added.
getter/setter pair
- flag ↔ String?
-
The name of the changed flag.
getter/setter pair
- gcType ↔ String?
-
The garbage collection (GC) operation performed.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- inspectee ↔ InstanceRef?
-
The argument passed to dart:developer.inspect.
getter/setter pair
- isolate ↔ IsolateRef?
-
The isolate with which this event is associated.
getter/setter pair
- isolateGroup ↔ IsolateGroupRef?
-
The isolate group with which this event is associated.
getter/setter pair
-
json
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
- kind ↔ String?
-
What kind of event is this?
getter/setter pair
- last ↔ bool?
-
Specifies whether this event is the last of a group of events.
getter/setter pair
- logRecord ↔ LogRecord?
-
LogRecord data.
getter/setter pair
- method ↔ String?
-
The RPC method that should be used to invoke the service.
getter/setter pair
- newValue ↔ String?
-
The new value of the changed flag.
getter/setter pair
-
pauseBreakpoints
↔ List<
Breakpoint> ? -
The list of breakpoints at which we are currently paused for a
PauseBreakpoint event.
getter/setter pair
- previousTag ↔ String?
-
The previous UserTag label.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service ↔ String?
-
The service identifier.
getter/setter pair
- status ↔ String?
-
The status (success or failure) related to the event. This is provided for
the event kinds:
getter/setter pair
-
timelineEvents
↔ List<
TimelineEvent> ? -
An array of TimelineEvents
getter/setter pair
- timestamp ↔ int?
-
The timestamp (in milliseconds since the epoch) associated with this
event. For some isolate pause events, the timestamp is from when the
isolate was paused. For other events, the timestamp is from when the event
was created.
getter/setter pair
- topFrame ↔ Frame?
-
The top stack frame associated with this event, if applicable.
getter/setter pair
- type → String
-
no setteroverride
-
updatedStreams
↔ List<
String> ? -
The new set of recorded timeline streams.
getter/setter pair
- updatedTag ↔ String?
-
The current UserTag label.
getter/setter pair
- vm ↔ VMRef?
-
The vm with which this event is associated.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited