origin method

MutUri origin(
  1. String origin, [
  2. String? path
])

Set origin of the URL

Implementation

MutUri origin(String origin, [String? path]) {
  _origin = origin;
  if (path != null) {
    this.path(path);
  }
  return this;
}