$splitQueryString static method

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

Implementation

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