hasInPath method

bool hasInPath(
  1. String key
)

Check if the path contains a specific key

Implementation

bool hasInPath(String key) => path.contains(key);