toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SourceType.salesforce:
      return 'SALESFORCE';
    case SourceType.zendesk:
      return 'ZENDESK';
  }
}