stopQueue method

void stopQueue()

Attempts to send queue and invalidates timer

Implementation

void stopQueue() {
  _sendQueuedMetrics(_timer);
  _timer?.cancel();
}