SocketConnect class

Available extensions

Constructors

SocketConnect()

Properties

appProjectName String?
项目名字
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
socket Socket?
getter/setter pair

Methods

connect({String? defaultProjectName, int? port, HostHandle? hostHandle, Duration? timeOut, String? initHost, FlutterXConnectSuccess? connectSuccess, FlutterXConnectDisconnected? connectDisconnected, String? projectName, required List<ServerMessageHandle> extend}) Future<void>
连接到idea插件
int32BigEndianBytes(int value) Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
responseHandle(String data, List<ServerMessageHandle> handle) → void
处理socket接收到的数据返回的数据
sendData(String msg, {FlutterXSendDataType type = FlutterXSendDataType.dioRequest}) Future<void>
发送消息 (dio 专用)
sendDataByModel(SocketSendModel model, FlutterXSendDataType type) Future<void>
sendDataMap(String message, FlutterXSendDataType type) Future<void>
sendJsonLog(String title, Map<String, dynamic> logData, {String? subTitle, FlutterXLogType type = FlutterXLogType.none}) → void
send a log to flutterx plugin windows 发送一个日志到flutterx窗口
sendMap(Map<String, dynamic> map, FlutterXSendDataType type) → void
发送数据
toString() String
A string representation of this object.
inherited
updateCurrentSPValue(Object newValue) → void

Available on SocketConnect, provided by the SPEx extension

刷新SP窗口右侧显示的新值
updateSPKeys() → void

Available on SocketConnect, provided by the SPEx extension

刷新 sp 窗口左侧的 key列表

Operators

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