PackageInfoPlugin class
The web implementation of PackageInfoPlatform
.
This class implements the package:package_info_plus
functionality for the web.
- Inheritance
-
- Object
- PlatformInterface
- PackageInfoPlatform
- PackageInfoPlugin
Constructors
- PackageInfoPlugin([Client? _client])
- Create plugin with http client.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAll(
) → Future< PackageInfoData> -
Returns a map with the following keys : appName,packageName,version,buildNumber
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
versionJsonUrl(
String baseUrl, int cacheBuster) → Uri - Get version.json full url.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void -
Registers this class as the default instance of
PackageInfoPlatform
.