origin property

String origin

Implementation

String get origin {
  if (JS('bool', '("origin" in #)', this)) {
    return JS('String', '#.origin', this);
  }
  return '${this.protocol}//${this.host}';
}