toValue method
Converts the enum value to its string representation.
Implementation
String toValue() {
switch (this) {
case SCSignalingChannel.socket:
return 'socket';
case SCSignalingChannel.fcm:
return 'fcm';
}
}
Converts the enum value to its string representation.
String toValue() {
switch (this) {
case SCSignalingChannel.socket:
return 'socket';
case SCSignalingChannel.fcm:
return 'fcm';
}
}