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