notifyProgress method

  1. @override
void notifyProgress(
  1. dynamic progressToken,
  2. double progress, {
  3. double? total,
  4. String? message,
})
override

Report progress on an in-flight server-initiated request (spec notifications/progress). progressToken is the token the server sent in the original request's _meta.progressToken.

Only for a server request still being handled, and only with a value greater than the last one sent for that token.

Implementation

@override
void notifyProgress(
  dynamic progressToken,
  double progress, {
  double? total,
  String? message,
}) => inner.notifyProgress(
  progressToken,
  progress,
  total: total,
  message: message,
);