rpc method

Future<Rpc> rpc({
  1. required String id,
  2. String? payload,
})

Implementation

Future<Rpc> rpc({required String id, String? payload}) =>
    _send(rtpb.Envelope(rpc: Rpc(id: id, payload: payload)));