platformVersion property Null safety

Future<String?> platformVersion

get the platform version.

Implementation

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