getPlatformVersion static method
Get the platform version string
Implementation
static Future<String?> getPlatformVersion() async {
if (kIsWeb) {
return 'Web';
}
try {
return await _channel.invokeMethod<String>('getPlatformVersion');
} on PlatformException {
return null;
} on MissingPluginException {
return null;
}
}