getVersionCode static method

Future<int> getVersionCode(
  1. String packageName
)

Implementation

static Future<int> getVersionCode(String packageName) async {
  final Map map = {"packageName": packageName};
  final int versionCode = await _channel.invokeMethod('getVersionCode', map);
  return versionCode;
}