HeartBeat constructor

HeartBeat({
  1. int interval = HEARTBEAT_INTERVAL,
})

Implementation

HeartBeat({this.interval = HEARTBEAT_INTERVAL}) : events = EventEmitter();