getVersion static method

Future<String> getVersion()

Get the SDK version

Implementation

static Future<String> getVersion() async {
  try {
    return await _invokeMethod<String>('getSDKVersion') ?? 'Unknown';
  } catch (e) {
    return 'Unknown';
  }
}