getBuildNumber function

Future<String> getBuildNumber()

获取BuildNumber

Implementation

Future<String> getBuildNumber() async {
  PackageInfo packageInfo = await getPackageInfo();
  return packageInfo.buildNumber;
}