toMpeg2GopSizeUnits method

Mpeg2GopSizeUnits toMpeg2GopSizeUnits()

Implementation

Mpeg2GopSizeUnits toMpeg2GopSizeUnits() {
  switch (this) {
    case 'FRAMES':
      return Mpeg2GopSizeUnits.frames;
    case 'SECONDS':
      return Mpeg2GopSizeUnits.seconds;
  }
  throw Exception('$this is not known in enum Mpeg2GopSizeUnits');
}