getSdkVersion method Null safety

Future<String?> getSdkVersion()

Retrieves the SDK version.

Since v3.3.1

This method returns the string of the version number.

Note

You can call this method either before or after joining a channel.

Returns

The version of the current SDK in the string format. For example, 2.3.0.

Implementation

static Future<String?> getSdkVersion() {
  return RtcEngine.methodChannel.invokeMethod('getSdkVersion');
}