toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fixedPrices != null) 'fixedPrices': fixedPrices!,
      if (guaranteedImpressions != null)
        'guaranteedImpressions': guaranteedImpressions!,
      if (guaranteedLooks != null) 'guaranteedLooks': guaranteedLooks!,
      if (impressionCap != null) 'impressionCap': impressionCap!,
      if (minimumDailyLooks != null) 'minimumDailyLooks': minimumDailyLooks!,
      if (percentShareOfVoice != null)
        'percentShareOfVoice': percentShareOfVoice!,
      if (reservationType != null) 'reservationType': reservationType!,
    };