getScripts method Null safety

Future<ScriptList> getScripts(
  1. String isolateId

The getScripts RPC is used to retrieve a ScriptList containing all scripts for an isolate based on the isolate's isolateId.

If isolateId refers to an isolate which has exited, then the Collected Sentinel is returned.

See ScriptList.

This method will throw a SentinelException in the case a Sentinel is returned.


Future<ScriptList> getScripts(String isolateId);