getDefaultUserAgent method Null safety

Future<String> getDefaultUserAgent()

Gets the default user agent.

Official Android API: https://developer.android.com/reference/android/webkit/WebSettings#getDefaultUserAgent(android.content.Context)

Implementation

static Future<String> getDefaultUserAgent() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await _staticChannel.invokeMethod('getDefaultUserAgent', args);
}