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 $js.chrome.management.getSelf().toDart;
  return ExtensionInfo.fromJS($res);
}