onCallEnd property
void Function(String callId, NECallType callType, CallEndReason reason, String userId, double totalTime, CallObserverExtraInfo info)?
onCallEnd
final
Call end(received by both caller and callee)
Parameters:
callId: Unique identifier for this callcallType: Call type,eg: audio、videoreason: Call end reason.userId: Which user ended the calltotalTime: Total time of the callinfo: Callback extension information
Implementation
final void Function(String callId, NECallType callType, CallEndReason reason,
String userId, double totalTime, CallObserverExtraInfo info)? onCallEnd;