createPath method

String createPath([
  1. Iterable? segments
])

add segments to the String

Implementation

String createPath([Iterable? segments]) {
  final path = startsWith('/') ? this : '/$this';
  return GetUtils.createPath(path, segments);
}