response method
Parses the json
RPC response and returns the batch result.
Implementation
List<JsonRpcResponse<T>> response(
final List<Map<String, dynamic>> json,
) {
assert(json.length == _methods.length);
return [
for (int i = 0; i < json.length; ++i) _methods[i].response(json[i])
];
}