getPlatformVersion method
See CupertinoNativePlatform.getPlatformVersion.
Invokes the native getPlatformVersion method and returns the result.
Returns null if the method is not implemented on the native side.
Implementation
@override
/// See [CupertinoNativePlatform.getPlatformVersion].
///
/// Invokes the native `getPlatformVersion` method and returns the result.
/// Returns null if the method is not implemented on the native side.
Future<String?> getPlatformVersion() async {
final version = await methodChannel.invokeMethod<String>(
'getPlatformVersion',
);
return version;
}