MCPRequest constructor

MCPRequest({
  1. Object? id,
  2. String? jsonrpc,
  3. String? method,
  4. Map<String, Object> params = const {},
})

Returns a new MCPRequest instance.

Implementation

MCPRequest({
  this.id,
  this.jsonrpc,
  this.method,
  this.params = const {},
});