$toJsonList static method
Wrapper for the DiagnosticsNode.toJsonList method
Implementation
static $Value? $toJsonList(
Runtime runtime,
$Value? target,
List<$Value?> args,
) {
final value = DiagnosticsNode.toJsonList(
(args[0]!.$reified as List).cast(),
args[1]!.$value,
args[2]!.$value,
);
return $List.view(value, (e) => $Map.wrap(e));
}