$https static method

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

Implementation

static $Value? $https(Runtime runtime, $Value? target, List<$Value?> args) {
  final queryParameters = (args[2]?.$value as Map?)?.map(
    (key, value) => MapEntry(key.$reified.toString(), value.$reified),
  );
  return $Uri.wrap(
    Uri.https(args[0]!.$value, args[1]?.$value ?? "", queryParameters),
  );
}