RawReceivePort2 class abstract

Constructors

RawReceivePort2([Function? handler])
Opens a long-lived port for receiving messages.
factory

Properties

handler Function
Sets the handler that is invoked for every incoming message.
no getter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendPort SendPort2
Returns a SendPort2 that sends to this raw receive port.
no setter

Methods

close() → void
Closes the port.
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