resetHeartbeat method
Implementation
void resetHeartbeat([Duration? delay]) {
if (delay == null) {
_heartBeatDelay = _defaultHeartBeatDelay;
} else {
_heartBeatDelay = delay;
}
_dbg('heartbeat reset to: $_heartBeatDelay');
startHeartbeat();
}