getAll method

Returns a list of information about installed extensions and apps.

Implementation

Future<List<ExtensionInfo>> getAll() async {
  var $res = await promiseToFuture<JSArray>($js.chrome.management.getAll());
  return $res.toDart
      .cast<$js.ExtensionInfo>()
      .map((e) => ExtensionInfo.fromJS(e))
      .toList();
}