getPlatformVersion method

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

Retrieves the platform version from the native platform.

Returns a String containing the platform version.

Implementation

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