setUserAgent method

Future<void> setUserAgent(
  1. String? userAgent
)

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

Implementation

Future<void> setUserAgent(String? userAgent) {
  return platform.setUserAgent(userAgent);
}