ProgressNotification extension type

An out-of-band notification used to inform the receiver of a progress update for a long-running request.

on
Implemented types

Constructors

ProgressNotification.new({required ProgressToken progressToken, required num progress, num? total, Meta? meta, String? message})
factory
ProgressNotification.fromMap(Map<String, Object?> _value)

Properties

message String?
An optional message describing the current progress.
no setter
meta Meta?
This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
no setterinherited
progress num
The progress thus far.
no setter
progressToken ProgressToken
The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
no setter
total num?
Total number of items to process (or total progress required), if known.
no setter

Constants

methodName → const String