toUploadAvailability method

UploadAvailability toUploadAvailability()

Implementation

UploadAvailability toUploadAvailability() {
  switch (this) {
    case 'STANDARD':
      return UploadAvailability.standard;
    case 'STREAMING':
      return UploadAvailability.streaming;
  }
  throw Exception('$this is not known in enum UploadAvailability');
}