toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (pointsCouponValue != null) 'pointsCouponValue': pointsCouponValue!,
  if (pointsDiscountRateMicros != null)
    'pointsDiscountRateMicros': pointsDiscountRateMicros!,
  if (pointsOfferId != null) 'pointsOfferId': pointsOfferId!,
  if (pointsSpent != null) 'pointsSpent': pointsSpent!,
};