toHlsIvSource method

HlsIvSource toHlsIvSource()

Implementation

HlsIvSource toHlsIvSource() {
  switch (this) {
    case 'EXPLICIT':
      return HlsIvSource.explicit;
    case 'FOLLOWS_SEGMENT_NUMBER':
      return HlsIvSource.followsSegmentNumber;
  }
  throw Exception('$this is not known in enum HlsIvSource');
}