getAppVersion method

Future<String> getAppVersion()

Implementation

Future<String> getAppVersion() async{
  var pkData = await PackageInfo.fromPlatform();
  return pkData.version;
}