setUserAgent method
Implementation
@override
Future<bool> setUserAgent(int webviewId, String userAgent) async {
bool? b = await methodChannel.invokeMethod<bool?>(
'setUserAgent', {"webviewId": webviewId, "userAgent": userAgent});
return b!;
}