toRequest method

  1. @override
Request toRequest(
  1. String id, {
  2. ClientUriConverter? clientUriConverter,
})

Return a request whose parameters are taken from this object and that has the given id.

Implementation

@override
Request toRequest(String id, {ClientUriConverter? clientUriConverter}) {
  return Request(
    id,
    'analysis.handleWatchEvents',
    toJson(clientUriConverter: clientUriConverter),
  );
}