From a838c350895a3d5681da71fecbac31c44fb7a415 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Wed, 27 Apr 2022 01:11:09 +0200 Subject: [PATCH] updated _debugLog --- lib/src/in_app_webview/in_app_webview_controller.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/in_app_webview/in_app_webview_controller.dart b/lib/src/in_app_webview/in_app_webview_controller.dart index ff7983ac..bc69f471 100644 --- a/lib/src/in_app_webview/in_app_webview_controller.dart +++ b/lib/src/in_app_webview/in_app_webview_controller.dart @@ -58,7 +58,6 @@ class InAppWebViewController Set _webMessageListenerObjNames = Set(); Map _injectedScriptsFromURL = {}; - // ignore: unused_field dynamic _id; InAppBrowser? _inAppBrowser; @@ -109,8 +108,8 @@ class InAppWebViewController if (WebView.debugLogging) { String viewId = (getViewId() ?? _inAppBrowser?.id).toString(); String message = - (_inAppBrowser == null ? "WebView ID " : "InAppBrowser ID " + viewId) + - " calling \"" + + (_inAppBrowser == null ? "WebView" : "InAppBrowser") + + " ID " + viewId + " calling \"" + method.toString() + "\" using " + args.toString(); developer.log(message, name: this.runtimeType.toString());