addOnCallClosesListener method

void addOnCallClosesListener({
  1. required void listener(),
})

Adds a listener that will be triggered once the call closes

Implementation

void addOnCallClosesListener({required void Function() listener}) {
  _onCallCloses.add(listener);
}