toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SourceType.git:
      return 'Git';
    case SourceType.zip:
      return 'Zip';
  }
}