buildNumber static method

Future<String> buildNumber()

获取包build版本

Implementation

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