stop method

  1. @override
void stop()
override

Implementation

@override
void stop() {
  _heartbeatTimer?.cancel();
  _heartbeatTimer = null;
}