toH265GopSizeUnits method

H265GopSizeUnits toH265GopSizeUnits()

Implementation

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