clearFocus method Null safety

Future<void> clearFocus()

Clears the current focus. On iOS and Android native WebView, it will clear also, for example, the current text selection.

Supported Platforms/Implementations:

Implementation

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