VideoCodecSettings.fromJson constructor
VideoCodecSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory VideoCodecSettings.fromJson(Map<String, dynamic> json) {
return VideoCodecSettings(
frameCaptureSettings: json['frameCaptureSettings'] != null
? FrameCaptureSettings.fromJson(
json['frameCaptureSettings'] as Map<String, dynamic>)
: null,
h264Settings: json['h264Settings'] != null
? H264Settings.fromJson(json['h264Settings'] as Map<String, dynamic>)
: null,
h265Settings: json['h265Settings'] != null
? H265Settings.fromJson(json['h265Settings'] as Map<String, dynamic>)
: null,
mpeg2Settings: json['mpeg2Settings'] != null
? Mpeg2Settings.fromJson(
json['mpeg2Settings'] as Map<String, dynamic>)
: null,
);
}