SocketTask class

Constructors

SocketTask.new({JSObject? $$context$$})

Properties

$$context$$ ↔ JSObject
getter/setter pair
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(SocketTaskCloseOption option) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onClose(SocketTaskOnCloseCallback listener) → void
onError(UDPSocketOnErrorCallback listener) → void
onMessage(SocketTaskOnMessageCallback listener) → void
onOpen(OnOpenCallback listener) → void
send(SocketTaskSendOption option) → void
toString() String
A string representation of this object.
inherited

Operators

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