clearMatches method Null safety

Future<void> clearMatches()

Clears the highlighting surrounding text matches created by findAllAsync().

NOTE: on iOS, this is implemented using CSS and Javascript.

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

Implementation

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