extension property

ChromeExtension get extension

The chrome.extension API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in Message Passing.

Implementation

ChromeExtension get extension => _extension;