toValue method

String toValue()

Converts the enum value to its string representation.

Implementation

String toValue() {
  switch (this) {
    case SCSwipeOffBehaviour.endCall:
      return 'endCall';
    case SCSwipeOffBehaviour.persistCall:
      return 'persistCall';
  }
}