userAgent property
Returns the User-Agent
header to put in the network queries.
Implementation
static Future<String> get userAgent async {
final info = await DeviceInfoPlugin().webBrowserInfo;
return info.userAgent ??
'${Config.userAgentProduct}/${Config.userAgentVersion}';
}