platformVersion property Null safety

Future<String?> platformVersion

Implementation

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