rpc method

  1. @override
Future<Rpc> rpc({
  1. required Session session,
  2. required String id,
  3. String? payload,
})
override

Implementation

@override
Future<Rpc> rpc({
  required model.Session session,
  required String id,
  String? payload,
}) async {
  return await _client.rpcFunc(
    Rpc(id: id, payload: payload),
    options: _getSessionCallOptions(session),
  );
}