fromJson static method
Implementation
static TCICBasicConfig fromJson(Map<String, dynamic> json) {
return TCICBasicConfig(
autoStartClass: json['autoStartClass'] ?? false,
allowEarlyEnter: json['allowEarlyEnter'] ?? false,
allowPipMode: json['allowPipMode'] ?? false,
autoStartStageLoop: json['autoStartStageLoop'] ?? false,
enableSmallVideoStream: json['enableSmallVideoStream'] ?? false,
enableVirtualBackground: json['enableVirtualBackground'] ?? false,
rememberBeautyConfig: json['rememberBeautyConfig'] ?? false,
rememberVirtualBackgroundConfig: json['rememberVirtualBackgroundConfig'] ?? false,
microphoneAutoOpen: json['microphoneAutoOpen'] ?? false,
cameraAutoOpen: json['cameraAutoOpen'] ?? false,
logPassword: json['logPassword'] ?? '',
enableExperienceDegradation: json['enableExperienceDegradation'] ?? false,
enableFullLogReport: json['enableFullLogReport'] ?? false,
handupButtonKeepEnabled: json['handupButtonKeepEnabled'] ?? false,
enableQuicMode: json['enableQuicMode'] ?? false,
showStreamSubscriptionSetting: json['showStreamSubscriptionSetting'] ?? true,
showQuicModeSetting: json['showQuicModeSetting'] ?? true,
teacherVideoFloating: json['teacherVideoFloating'] ?? false,
);
}