getPlatformVersion method
Gets the platform version using the method channel. Returns a String containing the platform version information. Example:
String? version = await MethodChannelMediaManager().getPlatformVersion();
print('Running on: $version');
Implementation
@override
Future<String?> getPlatformVersion() async {
final version = await methodChannel.invokeMethod<String>(
'getPlatformVersion',
);
return version;
}