debugEvaluateValue method

Future<Object?> debugEvaluateValue(
  1. String expression, {
  2. Duration? timeout,
  3. String name = '<inspector>',
})

Evaluates a debug expression and converts its result to Dart values.

This is the inspector's manual expression entry point. It uses the same queue, timeout, and conversion semantics as eval.

Implementation

Future<Object?> debugEvaluateValue(
  String expression, {
  Duration? timeout,
  String name = '<inspector>',
}) {
  return eval(expression, timeout: timeout, name: name);
}