spawn static method
Implementation
static Future<IsolatedSandbox> spawn(final Config config) async {
final receivePort = ReceivePort();
final isolate = await Isolate.spawn(_IsolatedSandbox$Isolate.run, Tuple2(receivePort.sendPort, config), paused: false, errorsAreFatal: true, debugName: 'IsolatedSandbox\$Isolate');
final sendPort = await receivePort.first;
return IsolatedSandbox._(isolate, receivePort, sendPort);
}