getContentHeight method Null safety

Future<int?> getContentHeight()

Gets the height of the HTML content.

Official Android API: https://developer.android.com/reference/android/webkit/WebView#getContentHeight()

Official iOS API: https://developer.apple.com/documentation/uikit/uiscrollview/1619399-contentsize

Implementation

Future<int?> getContentHeight() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await _channel.invokeMethod('getContentHeight', args);
}