removeListeners method

void removeListeners()

Implementation

void removeListeners() {
  if (_listener1 != null) {
    removeListener(_listener1!);
  }
  if (_listener2 != null) {
    removeListener(_listener2!);
  }
}