WebviewPortMapping class

Defines a port mapping used for localhost inside the webview.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

WebviewPortMapping({num? webviewPort, num? extensionHostPort})
factory

Properties

extensionHostPort num

Available on WebviewPortMapping, provided by the WebviewPortMapping$Typings extension

Destination port. The webviewPort is resolved to this port.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webviewPort num

Available on WebviewPortMapping, provided by the WebviewPortMapping$Typings extension

Localhost port to remap inside the webview.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited