toRequest method

  1. @override
Request toRequest(
  1. String id
)

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

Implementation

@override
Request toRequest(String id) {
  return Request(id, 'analysis.setContextRoots', toJson());
}