encode method

  1. @override
dynamic encode(
  1. InputCfgVideoStatus self
)

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';
  }
}