join static method

String join(
  1. String base,
  2. String append
)

Implementation

static String join(String base, String append) => sanitize([
      ...sanitize(base).split('/'),
      ...sanitize(append).split('/'),
    ].join('/'));