getPlatformVersion method

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

This Method retrivies the platform version from native thread.

Implementation

@override
Future<String?> getPlatformVersion() async {
  final version =
      await methodChannel.invokeMethod<String>('getPlatformVersion');
  return version;
}