getSDKVersion method
Implementation
@override
Future<String> getSDKVersion() async {
// invokeMethod<String> does NOT enforce type conversion; the result may be null or another type.
final version = await methodChannel.invokeMethod<String>('getSDKVersion');
if (version == null) {
throw StateError("getSDKVersion() returned null, which should not happen.");
}
return version;
}