setApplicationNameForUserAgent method
Append a string to the webview's user-agent.
Implementation
@override
Future<void> setApplicationNameForUserAgent(String applicationName) async {
if (!(Platform.isWindows || Platform.isLinux || Platform.isMacOS)) {
return;
}
await channel.invokeMethod("setApplicationNameForUserAgent", {
"viewId": viewId,
"applicationName": applicationName,
});
}