toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customerCountryCode != null)
        'customerCountryCode': customerCountryCode!,
      if (date != null) 'date': date!,
      if (last120DaysSearchInterest != null)
        'last120DaysSearchInterest': last120DaysSearchInterest!,
      if (last30DaysSearchInterest != null)
        'last30DaysSearchInterest': last30DaysSearchInterest!,
      if (last7DaysSearchInterest != null)
        'last7DaysSearchInterest': last7DaysSearchInterest!,
      if (last90DaysSearchInterest != null)
        'last90DaysSearchInterest': last90DaysSearchInterest!,
      if (next7DaysSearchInterest != null)
        'next7DaysSearchInterest': next7DaysSearchInterest!,
      if (searchInterest != null) 'searchInterest': searchInterest!,
      if (topic != null) 'topic': topic!,
    };