contains static method

bool contains(
  1. String base,
  2. String path
)

Implementation

static bool contains(String base, String path) =>
    "/${sanitize(path)}/".startsWith("/${sanitize(base)}/");