platformVersion property Null safety

Future<String> platformVersion

Implementation

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