platformVersion property
platformVersion returns a String
of the current platform
the appplication is running on, it usally includes both the
Operating System name eg (iOS / Android) and the Version
Number eg (15 / 12)
Implementation
static Future<String> get platformVersion async {
final String version = await _channel.invokeMethod('getPlatformVersion');
return version;
}