toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buyboxWinningRuleStats != null)
        'buyboxWinningRuleStats': buyboxWinningRuleStats!,
      if (date != null) 'date': date!,
      if (impactedProducts != null) 'impactedProducts': impactedProducts!,
      if (inapplicabilityDetails != null)
        'inapplicabilityDetails': inapplicabilityDetails!,
      if (inapplicableProducts != null)
        'inapplicableProducts': inapplicableProducts!,
      if (orderItemCount != null) 'orderItemCount': orderItemCount!,
      if (ruleId != null) 'ruleId': ruleId!,
      if (totalGmv != null) 'totalGmv': totalGmv!,
      if (type != null) 'type': type!,
    };