getFullVersionInfo static method

Future<String> getFullVersionInfo()

Returns the build number of the application. @returns A String representing the build number.

Implementation

static Future<String> getFullVersionInfo() async {
  PackageInfo packageInfo = await PackageInfo.fromPlatform();
  return '${packageInfo.version}+${packageInfo.buildNumber}';
}