JsonRpcResponse<T> constructor
JsonRpcResponse<T> ({
- required int id,
- String jsonrpc = '2.0',
- JsonRpcError? error,
- T? result,
Implementation
JsonRpcResponse({
required this.id,
this.jsonrpc = '2.0',
this.error,
this.result,
});