getUserAgent method

Future<String?> getUserAgent()

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

Implementation

Future<String?> getUserAgent() {
  throw UnimplementedError(
    'getUserAgent is not implemented on the current platform',
  );
}