H265ColorSpaceSettings.fromJson constructor
H265ColorSpaceSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory H265ColorSpaceSettings.fromJson(Map<String, dynamic> json) {
return H265ColorSpaceSettings(
colorSpacePassthroughSettings:
json['colorSpacePassthroughSettings'] != null
? ColorSpacePassthroughSettings.fromJson(
json['colorSpacePassthroughSettings'] as Map<String, dynamic>)
: null,
hdr10Settings: json['hdr10Settings'] != null
? Hdr10Settings.fromJson(
json['hdr10Settings'] 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,
);
}