IWebMessagePort class abstract

Implementers

Constructors

IWebMessagePort()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Close the message port and free any resources associated with it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postMessage(WebMessage message) Future<void>
Post a WebMessage to the entangled port.
setWebMessageCallback(WebMessageCallback? onMessage) Future<void>
Sets a callback to receive message events on the main thread.
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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