$encodeComponent static method

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

Implementation

static $Value? $encodeComponent(
    Runtime runtime, $Value? target, List<$Value?> args) {
  return $String(Uri.encodeComponent(args[0]!.$value));
}