toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final colorSpacePassthroughSettings = this.colorSpacePassthroughSettings;
  final hdr10Settings = this.hdr10Settings;
  final rec601Settings = this.rec601Settings;
  final rec709Settings = this.rec709Settings;
  return {
    if (colorSpacePassthroughSettings != null)
      'colorSpacePassthroughSettings': colorSpacePassthroughSettings,
    if (hdr10Settings != null) 'hdr10Settings': hdr10Settings,
    if (rec601Settings != null) 'rec601Settings': rec601Settings,
    if (rec709Settings != null) 'rec709Settings': rec709Settings,
  };
}