typing method

Future<void> typing(
  1. int toFromId
)

发送「正在输入」

Implementation

Future<void> typing(int toFromId) async {
  if (!_net.isOnline || !_net.ws.isConnected) return;
  await _net.ws.emit(WsEvents.messageKeyboard, {'to_from_id': toFromId});
}