startHeartbeat method
void
startHeartbeat()
Implementation
void startHeartbeat() {
_heartbeatTimer?.cancel();
dbg('starting new heartbeat at: $_heartBeatDelay');
_heartbeatTimer = Timer.periodic(_heartBeatDelay, (_) => doHeartbeat());
}