toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DataSource.agent:
      return 'AGENT';
  }
}