getView method

Future<Isolate> getView()

Implementation

Future<Isolate> getView() {
  final uri = Uri.dataFromString(
    code,
    mimeType: 'application/dart',
  );
  return Isolate.spawnUri(uri, [], null);
}