getOut method

  1. @Deprecated("this emit is absorbed by method locationReport")
void getOut({
  1. required String macAddress,
})

Implementation

@Deprecated("this emit is absorbed by method locationReport")
void getOut({required String macAddress}) {
  startSocket(prefs.read("token"));
  Map<String, dynamic> json = {
    "beacon_id": macAddress,
  };

  socket.emit("get_out", json);
}