sendHeartbeatResponse method

void sendHeartbeatResponse()

Responds to an incoming heartbeat.

Implementation

void sendHeartbeatResponse() {
  final response = Connect(sender: device, receiver: Device.DASHBOARD);
  sendMessage(response);
  didReceivedHeartbeat = true;
}