userAgent property
String?
userAgent
User agent string.
This is ignored in browsers.
Implementation
String? get userAgent => _userAgent;
Implementation
set userAgent(String? newValue) {
_userAgent = newValue;
try {
_webViewController.setUserAgent(newValue);
} catch (error) {
// Ignore error
}
notifyListeners();
}