startProgressNotification method

DapProgressReporter startProgressNotification(
  1. String id,
  2. String title, {
  3. String? message,
})

Starts reporting progress to the client for a single operation.

The returned DapProgressReporter can be used to send updated messages and to complete progress (hiding the progress notification).

Clients will use title as a prefix for all updates, appending message in the form:

title: message

When update is called, the new message will replace the previous message but the title prefix will remain.

Implementation

DapProgressReporter startProgressNotification(
  String id,
  String title, {
  String? message,
}) {
  return DapProgressReporter.start(this, id, title, message: message);
}