toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case UploadCategory.curated:
      return 'CURATED';
    case UploadCategory.private:
      return 'PRIVATE';
  }
}