canGoBack method Null safety

Future<bool> canGoBack()

Returns a boolean value indicating whether the WebView can move backward.

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

Official iOS API: https://developer.apple.com/documentation/webkit/wkwebview/1414966-cangoback

Implementation

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