toMap method
Converts this ListResourcesResultResponse into a JSON-compatible map.
Implementation
@override
Map<String, Object?> toMap() {
return {'jsonrpc': jsonrpc, 'id': id, 'result': result.toMap()};
}
Converts this ListResourcesResultResponse into a JSON-compatible map.
@override
Map<String, Object?> toMap() {
return {'jsonrpc': jsonrpc, 'id': id, 'result': result.toMap()};
}