toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (context != null) 'context': context!,
      if (items != null) 'items': items!,
      if (kind != null) 'kind': kind!,
      if (promotions != null) 'promotions': promotions!,
      if (queries != null) 'queries': queries!,
      if (searchInformation != null) 'searchInformation': searchInformation!,
      if (spelling != null) 'spelling': spelling!,
      if (url != null) 'url': url!,
    };