getPackageInfo method

Future<AppPackage> getPackageInfo(
  1. String packageName
)

Retrieves detailed information about the specified package.

This method takes the packageName as a parameter and returns a Future that resolves to an AppPackage object containing the package's information. If the method is not implemented, it throws an UnimplementedError.

  • Parameter packageName: The name of the package whose information is to be retrieved.
  • Returns: A Future that resolves to an AppPackage object with the package details.

Implementation

Future<AppPackage> getPackageInfo(String packageName) {
  throw UnimplementedError();
}