platformVersion property
Get device system version.
- If it is a Android device, like 'Android 9.0'.
- If it is a IOS device, like 'IOS 11.2'.
Implementation
static Future<String?> get platformVersion async {
final String? version = await _channel.invokeMethod('getPlatformVersion');
return version;
}