File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -358,11 +358,13 @@ class AppInspector implements AppInspectorInterface {
358358
359359 /// Evaluates the specified top-level method [methodName] within the library
360360 /// identified by [libraryUri] using the Dart Development Compiler (DDC)
361- /// library bundle strategy with the given [arguments] .
361+ /// library bundle strategy with the given optional [arguments] .
362362 Future <RemoteObject > _evaluateLibraryMethodWithDdcLibraryBundle (
363363 String libraryUri,
364364 String methodName,
365- List <RemoteObject > arguments,
365+ [
366+ List <RemoteObject > arguments = const [],
367+ ]
366368 ) {
367369 final expression = globalToolConfiguration.loadStrategy.dartRuntimeDebugger
368370 .callLibraryMethodJsExpression (libraryUri, methodName);
@@ -404,7 +406,6 @@ class AppInspector implements AppInspectorInterface {
404406 ? _evaluateLibraryMethodWithDdcLibraryBundle (
405407 libraryUri,
406408 methodName,
407- [],
408409 )
409410 : _evaluateLibraryVariable (
410411 libraryUri,
You can’t perform that action at this time.
0 commit comments