toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dryRun != null) 'dryRun': dryRun!,
      if (itemsMissingInCatalog != null)
        'itemsMissingInCatalog': itemsMissingInCatalog!,
      if (metadata != null) 'metadata': metadata!,
      if (nextPageToken != null) 'nextPageToken': nextPageToken!,
      if (recommendationToken != null)
        'recommendationToken': recommendationToken!,
      if (results != null)
        'results': results!.map((value) => value.toJson()).toList(),
    };