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