path method

MutUri path(
  1. String path
)

Append path segments to the URL

Implementation

MutUri path(String path) {
  if (path.isEmpty) return this;
  final parts = path.split('/').where((p) => p.isNotEmpty);
  _paths.addAll(parts);
  return this;
}