PortalHost class

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

PortalHost()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onmessage EventHandlerNonNull<Event>?

Available on PortalHost, provided by the PropsPortalHost extension

getter/setter pair
onmessageerror EventHandlerNonNull<Event>?

Available on PortalHost, provided by the PropsPortalHost extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postMessage(dynamic message, [StructuredSerializeOptions? options]) → void

Available on PortalHost, provided by the PropsPortalHost extension

removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

toString() String
A string representation of this object.
inherited

Operators

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