getAppInfo static method

Future<PackageInfo> getAppInfo()

Implementation

static Future<PackageInfo> getAppInfo() async{
  PackageInfo _packageInfo = await PackageInfo.fromPlatform();
  return _packageInfo;
}