$rich static method

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

Implementation

static $Value? $rich(Runtime runtime, $Value? target, List<$Value?> args) {
  return $Text.wrap(Text.rich(
    args[0]!.$value,
    key: args[1]?.$value,
    style: args[2]?.$value,
  ));
}