ExtensionInfo class

Constructors

ExtensionInfo({required String id, required String name, required String shortName, required String description, required String version, String? versionName, required bool mayDisable, bool? mayEnable, required bool enabled, ExtensionDisabledReason? disabledReason, required bool isApp, required ExtensionType type, String? appLaunchUrl, String? homepageUrl, String? updateUrl, required bool offlineEnabled, required String optionsUrl, List<IconInfo>? icons, required List<String> permissions, required List<String> hostPermissions, required ExtensionInstallType installType, LaunchType? launchType, List<LaunchType>? availableLaunchTypes})
ExtensionInfo.fromJS(ExtensionInfo _wrapped)

Properties

appLaunchUrl String?
The launch url (only present for apps).
getter/setter pair
availableLaunchTypes List<LaunchType>?
The currently available launch types (only present for apps).
getter/setter pair
description String
The description of this extension, app, or theme.
getter/setter pair
disabledReason ExtensionDisabledReason?
A reason the item is disabled.
getter/setter pair
enabled bool
Whether it is currently enabled or disabled.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
homepageUrl String?
The URL of the homepage of this extension, app, or theme.
getter/setter pair
hostPermissions List<String>
Returns a list of host based permissions.
getter/setter pair
icons List<IconInfo>?
A list of icon information. Note that this just reflects what was declared in the manifest, and the actual image at that url may be larger or smaller than what was declared, so you might consider using explicit width and height attributes on img tags referencing these images. See the manifest documentation on icons for more details.
getter/setter pair
id String
The extension's unique identifier.
getter/setter pair
installType ExtensionInstallType
How the extension was installed.
getter/setter pair
isApp bool
True if this is an app.
getter/setter pair
launchType LaunchType?
The app launch type (only present for apps).
getter/setter pair
mayDisable bool
Whether this extension can be disabled or uninstalled by the user.
getter/setter pair
mayEnable bool?
Whether this extension can be enabled by the user. This is only returned for extensions which are not enabled.
getter/setter pair
name String
The name of this extension, app, or theme.
getter/setter pair
offlineEnabled bool
Whether the extension, app, or theme declares that it supports offline.
getter/setter pair
optionsUrl String
The url for the item's options page, if it has one.
getter/setter pair
permissions List<String>
Returns a list of API based permissions.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortName String
A short version of the name of this extension, app, or theme.
getter/setter pair
toJS → ExtensionInfo
no setter
type ExtensionType
The type of this extension, app, or theme.
getter/setter pair
updateUrl String?
The update URL of this extension, app, or theme.
getter/setter pair
version String
The version of this extension, app, or theme.
getter/setter pair
versionName String?
The version name of this extension, app, or theme if the manifest specified one.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited