path method

dynamic path([
  1. String? v
])

Sets the client serving path.

Implementation

dynamic path([String? v]) {
  if (v == null || v.isEmpty) return _path;
  _path = v.replaceFirst(RegExp(r'/\/$/'), '');
  return this;
}