getVersion static method

Future<String?> getVersion()

Retrieves the current version of the SDK.

Implementation

static Future<String?> getVersion() async {
  try {
    return await _channel.invokeMethod('getVersion');
  } catch (e) {
    debugPrint('Error getting SDK version: $e');
    return null;
  }
}