FailoverConditionSettings.fromJson constructor
FailoverConditionSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory FailoverConditionSettings.fromJson(Map<String, dynamic> json) {
return FailoverConditionSettings(
audioSilenceSettings: json['audioSilenceSettings'] != null
? AudioSilenceFailoverSettings.fromJson(
json['audioSilenceSettings'] as Map<String, dynamic>)
: null,
inputLossSettings: json['inputLossSettings'] != null
? InputLossFailoverSettings.fromJson(
json['inputLossSettings'] as Map<String, dynamic>)
: null,
videoBlackSettings: json['videoBlackSettings'] != null
? VideoBlackFailoverSettings.fromJson(
json['videoBlackSettings'] as Map<String, dynamic>)
: null,
);
}