request method
Sends a req frame and returns the response payload; throws
ServerRequestException when the server answers with err — a missing
handler, or the handler itself throwing.
Implementation
Future<Map<String, Object?>> request(
String channel,
String method, [
Map<String, Object?> params = const {},
]) => _session.request(channel, method, params);