encode method
Implementation
@override dynamic encode(p4.InputCfgVideoStatus self) {
switch (self) {
case p4.InputCfgVideoStatus.invalid: return 'invalid';
case p4.InputCfgVideoStatus.valid: return 'valid';
case p4.InputCfgVideoStatus.mismatchFormat: return 'mismatchFormat';
case p4.InputCfgVideoStatus.outOfRange: return 'outOfRange';
case p4.InputCfgVideoStatus.noSync: return 'noSync';
case p4.InputCfgVideoStatus.unknown: return 'unknown';
}
}