JsonRpcResponse<T> constructor

const JsonRpcResponse<T>({
  1. required String jsonrpc,
  2. int? id,
})

The interface for a JSON RPC response.

Implementation

const JsonRpcResponse({
  required this.jsonrpc,
  this.id,
});