toH265InterlaceMode method

H265InterlaceMode toH265InterlaceMode()

Implementation

H265InterlaceMode toH265InterlaceMode() {
  switch (this) {
    case 'PROGRESSIVE':
      return H265InterlaceMode.progressive;
    case 'TOP_FIELD':
      return H265InterlaceMode.topField;
    case 'BOTTOM_FIELD':
      return H265InterlaceMode.bottomField;
    case 'FOLLOW_TOP_FIELD':
      return H265InterlaceMode.followTopField;
    case 'FOLLOW_BOTTOM_FIELD':
      return H265InterlaceMode.followBottomField;
  }
  throw Exception('$this is not known in enum H265InterlaceMode');
}