toMpeg2ScanType method

Mpeg2ScanType toMpeg2ScanType()

Implementation

Mpeg2ScanType toMpeg2ScanType() {
  switch (this) {
    case 'INTERLACED':
      return Mpeg2ScanType.interlaced;
    case 'PROGRESSIVE':
      return Mpeg2ScanType.progressive;
  }
  throw Exception('$this is not known in enum Mpeg2ScanType');
}