toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case JobPhase.probing:
      return 'PROBING';
    case JobPhase.transcoding:
      return 'TRANSCODING';
    case JobPhase.uploading:
      return 'UPLOADING';
  }
}