loadUnpacked method

Future<String> loadUnpacked(
  1. String path
)

Installs an unpacked extension from the filesystem similar to --load-extension CLI flags. Returns extension ID once the extension has been installed. path Absolute file path. Returns: Extension id.

Implementation

Future<String> loadUnpacked(String path) async {
  var result = await _client.send('Extensions.loadUnpacked', {
    'path': path,
  });
  return result['id'] as String;
}