decode method
Implementation
@override p4.InputCfgVideoStatus decode(dynamic value) {
switch (value) {
case 'invalid': return p4.InputCfgVideoStatus.invalid;
case 'valid': return p4.InputCfgVideoStatus.valid;
case 'mismatchFormat': return p4.InputCfgVideoStatus.mismatchFormat;
case 'outOfRange': return p4.InputCfgVideoStatus.outOfRange;
case 'noSync': return p4.InputCfgVideoStatus.noSync;
case 'unknown': return p4.InputCfgVideoStatus.unknown;
default: throw MapperException.unknownEnumValue(value);
}
}