appPackageName top-level property

Future<String> get appPackageName

Implementation

Future<String> get appPackageName async {
  final PackageInfo packageInfo = await PackageInfo.fromPlatform();
  return packageInfo.packageName;
}