toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DataSource.event:
      return 'EVENT';
    case DataSource.modelScore:
      return 'MODEL_SCORE';
    case DataSource.externalModelScore:
      return 'EXTERNAL_MODEL_SCORE';
  }
}