DapProgressReporter class abstract
A reporter that can send progress notifications to the client.
Constructors
-
DapProgressReporter(DartDebugAdapter<
LaunchRequestArguments, AttachRequestArguments> adapter, String idPrefix) -
DapProgressReporter.start(DartDebugAdapter<
LaunchRequestArguments, AttachRequestArguments> adapter, String idPrefix, String title, {String? message}) -
Creates a progress reporter and sends the start event.
factory
Properties
-
adapter
→ DartDebugAdapter<
LaunchRequestArguments, AttachRequestArguments> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID for the this progress, used by the client to distinguish between
any overlapping progress.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
end(
[String? message]) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendEnd(
ProgressEndEventBody body) → void -
sendStart(
ProgressStartEventBody body) → void -
sendUpdate(
ProgressUpdateEventBody body) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required String message}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- nextIdSuffix ↔ int
-
A suffix to use for the next token to ensure all IDs are unique.
getter/setter pair