$encodeQueryComponent static method

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

Implementation

static $Value? $encodeQueryComponent(
  Runtime runtime,
  $Value? target,
  List<$Value?> args,
) {
  return $String(
    Uri.encodeQueryComponent(
      args[0]!.$value,
      encoding: (args[1]?.$value as Encoding?) ?? utf8,
    ),
  );
}