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 {
358
358
359
359
/// Evaluates the specified top-level method [methodName] within the library
360
360
/// 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] .
362
362
Future <RemoteObject > _evaluateLibraryMethodWithDdcLibraryBundle (
363
363
String libraryUri,
364
364
String methodName,
365
- List <RemoteObject > arguments,
365
+ [
366
+ List <RemoteObject > arguments = const [],
367
+ ]
366
368
) {
367
369
final expression = globalToolConfiguration.loadStrategy.dartRuntimeDebugger
368
370
.callLibraryMethodJsExpression (libraryUri, methodName);
@@ -404,7 +406,6 @@ class AppInspector implements AppInspectorInterface {
404
406
? _evaluateLibraryMethodWithDdcLibraryBundle (
405
407
libraryUri,
406
408
methodName,
407
- [],
408
409
)
409
410
: _evaluateLibraryVariable (
410
411
libraryUri,
You can’t perform that action at this time.
0 commit comments