getVersion static method

Future<String> getVersion()

获取 SDK 版本号。

Platforms:

  • 🅰️ Android:支持
  • 🍏 iOS:支持
  • 🔶 Harmony:支持

Returns:

  • 形如 7.6.1.8 的版本号字符串。

Implementation

static Future<String> getVersion() => _platform.getVersion();