toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SourceType.owned:
      return 'OWNED';
    case SourceType.entitled:
      return 'ENTITLED';
  }
}