MethodChannelPackagesInfo class

An implementation of PackagesInfoPlatform that uses method channels.

Inheritance

Constructors

MethodChannelPackagesInfo()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isMock → bool
Only mock implementations should set this to true.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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