androidWebViewInfo property Null safety

Future<AndroidWebViewInfo?> androidWebViewInfo

Implementation

Future<AndroidWebViewInfo?> get androidWebViewInfo async {
  if (!Platform.isAndroid) {
    return null;
  }

  final mapping = await (_channel.invokeMethod<Map<dynamic, dynamic>>(
    'getAndroidWebViewInfo',
    <String, dynamic>{},
  ));
  return AndroidWebViewInfo.fromMap(mapping);
}