fromString static method
Converts the string representation of a signaling channel to its enum value.
Implementation
static SCSignalingChannel? fromString(String value) {
switch (value) {
case 'socket':
return SCSignalingChannel.socket;
case 'fcm':
return SCSignalingChannel.fcm;
default:
SignedCallLogger.d(
'$value is not a valid value for SCSignalingChannel.');
return null;
}
}