PackagesInfoStub class
A stub implementation to satisfy compilation of multi-platform packages that depend on packages_info_platform_interface. This should never actually be created.
Notably, because packages_info needs to manually register federated dependencies, anything with a transitive dependency on packages_info will also depend on any of those dependencies, not just at the pubspec level but the code level.
- Inheritance
-
- Object
- PackagesInfoPlatform
- PackagesInfoStub
Constructors
- PackagesInfoStub.new()
- Errors on attempted instantiation of the stub. It exists only to satisfy compile-time dependencies, and should never actually be created.
Properties
Methods
-
getInstalledPackages(
[Options options = const Options()]) → Future< Iterable< Package> > -
Return a List of all packages that are installed & available for the current user.
override
-
getPackageInfo(
String packageIdentifier, [Options options = const Options()]) → Future< Package> -
Retrieve overall information about a package that is installed on the system and is available to the current user.
override
-
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