getPorts method

Future<PortList> getPorts(
  1. String isolateId
)

The getPorts RPC is used to retrieve the list of ReceivePort instances for a given isolate.

See PortList.

Implementation

Future<PortList> getPorts(String isolateId) =>
    _call('getPorts', {'isolateId': isolateId});