getPorts method Null safety

  1. @override
Future<PortList> getPorts(
  1. String isolateId
)
override

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

See PortList.

Implementation

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