platformVersion property Null safety

Future<String?> platformVersion

Gives the current platform version.

Implementation

static Future<String?> get platformVersion async {
  return await _channel.invokeMethod('getPlatformVersion');
}