getPackageInfo method

Future<PackageInfo> getPackageInfo()

Implementation

Future<PackageInfo> getPackageInfo() async {
  _packageInfo ??= await PackageInfo.fromPlatform();
  return _packageInfo!;
}