H264ColorSpaceSettings.fromJson constructor
H264ColorSpaceSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory H264ColorSpaceSettings.fromJson(Map<String, dynamic> json) {
return H264ColorSpaceSettings(
colorSpacePassthroughSettings:
json['colorSpacePassthroughSettings'] != null
? ColorSpacePassthroughSettings.fromJson(
json['colorSpacePassthroughSettings'] as Map<String, dynamic>)
: null,
rec601Settings: json['rec601Settings'] != null
? Rec601Settings.fromJson(
json['rec601Settings'] as Map<String, dynamic>)
: null,
rec709Settings: json['rec709Settings'] != null
? Rec709Settings.fromJson(
json['rec709Settings'] as Map<String, dynamic>)
: null,
);
}