onHeld method
Handle hold state changes
Implementation
void onHeld(HoldState holdState) {
_holdState = holdState;
_state = (holdState==HoldState.none) ? CallState.connected : CallState.held;
notifyListeners();
}
Handle hold state changes
void onHeld(HoldState holdState) {
_holdState = holdState;
_state = (holdState==HoldState.none) ? CallState.connected : CallState.held;
notifyListeners();
}