getPlatformVersion method
Returns the host platform's version string, e.g. Android 12.
返回宿主平台的版本字符串,例如 Android 12。
Example / 示例:
final v = await MovaPlatform.instance.getPlatformVersion();
Implementation
@override
Future<String?> getPlatformVersion() async {
final version = await methodChannel.invokeMethod<String>(
'getPlatformVersion',
);
return version;
}