$directory static method

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

Implementation

static $Value? $directory(
  Runtime runtime,
  $Value? target,
  List<$Value?> args,
) {
  return $Uri.wrap(
    Uri.directory(
      args[0]!.$value,
      windows: (args[1]?.$value as bool?) ?? false,
    ),
  );
}