QueuedMicrotasks class
A QueuedMicrotasks
object is a snapshot containing information about the
microtasks that were queued in a certain isolate at a certain time.
See VmService.getQueuedMicrotasks and Microtask.
Constructors
-
QueuedMicrotasks.new({int? timestamp, List<
Microtask> ? microtasks})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
json
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
-
microtasks
↔ List<
Microtask> ? -
The microtasks that were in the queue when this snapshot was taken. The
microtask at the front of the queue (i.e. the one that will run earliest)
is the one at index 0 of this list.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp ↔ int?
-
The time at which this snapshot of the microtask queue was taken,
represented as microseconds since the "Unix epoch".
getter/setter pair
- type → String
-
no setteroverride
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
Static Methods
-
parse(
Map< String, dynamic> ? json) → QueuedMicrotasks? -
override