sendHeartbeatResponse method

void sendHeartbeatResponse()
inherited

Responds to an incoming heartbeat.

Implementation

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