toOutputGroupType method

OutputGroupType toOutputGroupType()

Implementation

OutputGroupType toOutputGroupType() {
  switch (this) {
    case 'HLS_GROUP_SETTINGS':
      return OutputGroupType.hlsGroupSettings;
    case 'DASH_ISO_GROUP_SETTINGS':
      return OutputGroupType.dashIsoGroupSettings;
    case 'FILE_GROUP_SETTINGS':
      return OutputGroupType.fileGroupSettings;
    case 'MS_SMOOTH_GROUP_SETTINGS':
      return OutputGroupType.msSmoothGroupSettings;
    case 'CMAF_GROUP_SETTINGS':
      return OutputGroupType.cmafGroupSettings;
  }
  throw Exception('$this is not known in enum OutputGroupType');
}