toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final blackFrameMsec = this.blackFrameMsec;
  final inputLossImageColor = this.inputLossImageColor;
  final inputLossImageSlate = this.inputLossImageSlate;
  final inputLossImageType = this.inputLossImageType;
  final repeatFrameMsec = this.repeatFrameMsec;
  return {
    if (blackFrameMsec != null) 'blackFrameMsec': blackFrameMsec,
    if (inputLossImageColor != null)
      'inputLossImageColor': inputLossImageColor,
    if (inputLossImageSlate != null)
      'inputLossImageSlate': inputLossImageSlate,
    if (inputLossImageType != null)
      'inputLossImageType': inputLossImageType.toValue(),
    if (repeatFrameMsec != null) 'repeatFrameMsec': repeatFrameMsec,
  };
}