toPathCase method

String toPathCase([
  1. String separator = '/'
])

Converts the string to path/case. Example: 'helloWorld' -> 'hello/world'

Implementation

String toPathCase([String separator = '/']) =>
    _extractComponents().join(separator);