origin property
String?
get
origin
The origin of the page or frame that opened the connection. It can vary from the url property (e.g., about:blank) or can be opaque (e.g., sandboxed iframes). This is useful for identifying if the origin can be trusted if we can't immediately tell from the URL.
Implementation
String? get origin => _wrapped.origin;
set
origin
(String? v)
Implementation
set origin(String? v) {
_wrapped.origin = v;
}