platformVersion property Null safety

Future<String> platformVersion

Implementation

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