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