toContainerType method

ContainerType toContainerType()

Implementation

ContainerType toContainerType() {
  switch (this) {
    case 'F4V':
      return ContainerType.f4v;
    case 'ISMV':
      return ContainerType.ismv;
    case 'M2TS':
      return ContainerType.m2ts;
    case 'M3U8':
      return ContainerType.m3u8;
    case 'CMFC':
      return ContainerType.cmfc;
    case 'MOV':
      return ContainerType.mov;
    case 'MP4':
      return ContainerType.mp4;
    case 'MPD':
      return ContainerType.mpd;
    case 'MXF':
      return ContainerType.mxf;
    case 'WEBM':
      return ContainerType.webm;
    case 'RAW':
      return ContainerType.raw;
  }
  throw Exception('$this is not known in enum ContainerType');
}