onCallStatusEvent method

dynamic onCallStatusEvent(
  1. dynamic event,
  2. dynamic emit
)

Implementation

onCallStatusEvent(event, emit) {
  emit(CallStatusState(event.status));
}