reloadSources method Null safety
The reloadSources
RPC is used to perform a hot reload of an Isolate's
sources.
if the force
parameter is provided, it indicates that all of the
Isolate's sources should be reloaded regardless of modification time.
if the pause
parameter is provided, the isolate will pause immediately
after the reload.
if the rootLibUri
parameter is provided, it indicates the new uri to the
Isolate's root library.
if the packagesUri
parameter is provided, it indicates the new uri to
the Isolate's package map (.packages) file.
If isolateId
refers to an isolate which has exited, then the Collected
Sentinel is returned.
This method will throw a SentinelException in the case a Sentinel is returned.
Implementation
Future<ReloadReport> reloadSources(
String isolateId, {
bool? force,
bool? pause,
String? rootLibUri,
String? packagesUri,
});