absolute function Null safety

String absolute(
  1. String part1,
  2. [String? part2,
  3. String? part3,
  4. String? part4,
  5. String? part5,
  6. String? part6,
  7. String? part7]
)

Returns a new path with the given path parts appended to current.

Equivalent to join() with current as the first argument. Example:

p.absolute('path', 'to/foo'); // -> '/your/current/dir/path/to/foo'

Does not normalize or canonicalize paths.

Implementation

String absolute(String part1,
        [String? part2,
        String? part3,
        String? part4,
        String? part5,
        String? part6,
        String? part7]) =>
    context.absolute(part1, part2, part3, part4, part5, part6, part7);