toJson method
Implementation
Map<String, dynamic> toJson() {
final secondaryInputId = this.secondaryInputId;
final errorClearTimeMsec = this.errorClearTimeMsec;
final failoverConditions = this.failoverConditions;
final inputPreference = this.inputPreference;
return {
'secondaryInputId': secondaryInputId,
if (errorClearTimeMsec != null) 'errorClearTimeMsec': errorClearTimeMsec,
if (failoverConditions != null) 'failoverConditions': failoverConditions,
if (inputPreference != null) 'inputPreference': inputPreference.toValue(),
};
}