toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SourceType.all:
      return 'ALL';
    case SourceType.any:
      return 'ANY';
    case SourceType.none:
      return 'NONE';
  }
}