Sets the value used for the HTTP User-Agent: request header.
User-Agent:
Future<void> setUserAgent(String? userAgent) { return platform.setUserAgent(userAgent); }