getPlatformVersion method

  1. @override
Future<String?> getPlatformVersion()
override

get Platform version

Implementation

@override
Future<String?> getPlatformVersion() async {
  systemCtr = Completer();
  methodChannel.invokeMethod<String>('system.platform_version');
  return await systemCtr?.future;
}