GlobalConfiguration.fromJson constructor
GlobalConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GlobalConfiguration.fromJson(Map<String, dynamic> json) {
return GlobalConfiguration(
initialAudioGain: json['initialAudioGain'] as int?,
inputEndAction: (json['inputEndAction'] as String?)
?.toGlobalConfigurationInputEndAction(),
inputLossBehavior: json['inputLossBehavior'] != null
? InputLossBehavior.fromJson(
json['inputLossBehavior'] as Map<String, dynamic>)
: null,
outputLockingMode: (json['outputLockingMode'] as String?)
?.toGlobalConfigurationOutputLockingMode(),
outputTimingSource: (json['outputTimingSource'] as String?)
?.toGlobalConfigurationOutputTimingSource(),
supportLowFramerateInputs: (json['supportLowFramerateInputs'] as String?)
?.toGlobalConfigurationLowFramerateInputs(),
);
}