getSelf method

Future<ExtensionInfo> getSelf()

Returns information about the calling extension, app, or theme. Note: This function can be used without requesting the 'management' permission in the manifest.

Implementation

Future<ExtensionInfo> getSelf() async {
  var $res = await promiseToFuture<$js.ExtensionInfo>(
      $js.chrome.management.getSelf());
  return ExtensionInfo.fromJS($res);
}