idOf method

String idOf(
  1. String segment
)

Implementation

String idOf(String segment) => documentPath.nextPath(segment) ?? "";