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. Available if the client is connected using the --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging flag is set. 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;
}