$message static method

$Value? $message(
  1. Runtime runtime,
  2. $Value? thisValue,
  3. List<$Value?> args
)

Wrapper for the DiagnosticsNode.message constructor

Implementation

static $Value? $message(
  Runtime runtime,
  $Value? thisValue,
  List<$Value?> args,
) {
  return $DiagnosticsNode.wrap(
    DiagnosticsNode.message(
      args[0]!.$value,
      style: args[1]?.$value ?? DiagnosticsTreeStyle.singleLine,
      level: args[2]?.$value ?? DiagnosticLevel.info,
      allowWrap: args[3]?.$value ?? true,
    ),
  );
}