toKey method

String toKey()

Implementation

String toKey() {
  return _single ?? segments.map((s) => s.capitalize()).join().uncapitalize();
}