TCPSocket class
Constructors
- TCPSocket.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
-
bindWifi(
BindWifiOption options) → void -
close(
) → void -
connect(
TCPSocketConnectOption options) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offBindWifi(
[OffBindWifiCallback? listener]) → void -
offClose(
[UDPSocketOffCloseCallback? listener]) → void -
offConnect(
[OffConnectCallback? listener]) → void -
offError(
[UDPSocketOffErrorCallback? listener]) → void -
offMessage(
[TCPSocketOffMessageCallback? listener]) → void -
onBindWifi(
OnBindWifiCallback listener) → void -
onClose(
UDPSocketOnCloseCallback listener) → void -
onConnect(
OnConnectCallback listener) → void -
onError(
UDPSocketOnErrorCallback listener) → void -
onMessage(
TCPSocketOnMessageCallback listener) → void -
toString(
) → String -
A string representation of this object.
inherited
-
write(
dynamic data) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited