updated _debugLog
This commit is contained in:
parent
1e6de69d20
commit
a838c35089
|
@ -58,7 +58,6 @@ class InAppWebViewController
|
||||||
Set<String> _webMessageListenerObjNames = Set();
|
Set<String> _webMessageListenerObjNames = Set();
|
||||||
Map<String, ScriptHtmlTagAttributes> _injectedScriptsFromURL = {};
|
Map<String, ScriptHtmlTagAttributes> _injectedScriptsFromURL = {};
|
||||||
|
|
||||||
// ignore: unused_field
|
|
||||||
dynamic _id;
|
dynamic _id;
|
||||||
|
|
||||||
InAppBrowser? _inAppBrowser;
|
InAppBrowser? _inAppBrowser;
|
||||||
|
@ -109,8 +108,8 @@ class InAppWebViewController
|
||||||
if (WebView.debugLogging) {
|
if (WebView.debugLogging) {
|
||||||
String viewId = (getViewId() ?? _inAppBrowser?.id).toString();
|
String viewId = (getViewId() ?? _inAppBrowser?.id).toString();
|
||||||
String message =
|
String message =
|
||||||
(_inAppBrowser == null ? "WebView ID " : "InAppBrowser ID " + viewId) +
|
(_inAppBrowser == null ? "WebView" : "InAppBrowser")
|
||||||
" calling \"" +
|
+ " ID " + viewId + " calling \"" +
|
||||||
method.toString() + "\" using " + args.toString();
|
method.toString() + "\" using " + args.toString();
|
||||||
developer.log(message,
|
developer.log(message,
|
||||||
name: this.runtimeType.toString());
|
name: this.runtimeType.toString());
|
||||||
|
|
Loading…
Reference in New Issue