getScripts method Null safety

  1. @override
Future<ScriptList> getScripts(
  1. String isolateId
)
override

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.

Implementation

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