dispose method

void dispose()

Call dispose once the widget showing the call (e.g. call page) disposes before user accepting/rejecting the call.

Implementation

void dispose() {
  if (!answered) {
    rejectCall();
  }
  _doDispose();
}