iceGatheringStateforString function
Implementation
RTCIceGatheringState iceGatheringStateforString(String? state) {
switch (state) {
case 'new':
return RTCIceGatheringState.RTCIceGatheringStateNew;
case 'gathering':
return RTCIceGatheringState.RTCIceGatheringStateGathering;
case 'complete':
return RTCIceGatheringState.RTCIceGatheringStateComplete;
}
return RTCIceGatheringState.RTCIceGatheringStateNew;
}