userAgent property

WebSetting<String> userAgent
final

The value used for the HTTP User-Agent: request header.

If userAgent.value is null the platform's default user agent should be used.

An absent value (userAgent.isPresent is false) represents no change to this setting from the last time it was set.

See also WebView.userAgent.

Implementation

final WebSetting<String> userAgent;