toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowAnonLogging != null) 'allowAnonLogging': allowAnonLogging!,
      if (authors != null) 'authors': authors!,
      if (averageRating != null) 'averageRating': averageRating!,
      if (canonicalVolumeLink != null)
        'canonicalVolumeLink': canonicalVolumeLink!,
      if (categories != null) 'categories': categories!,
      if (comicsContent != null) 'comicsContent': comicsContent!,
      if (contentVersion != null) 'contentVersion': contentVersion!,
      if (description != null) 'description': description!,
      if (dimensions != null) 'dimensions': dimensions!,
      if (imageLinks != null) 'imageLinks': imageLinks!,
      if (industryIdentifiers != null)
        'industryIdentifiers': industryIdentifiers!,
      if (infoLink != null) 'infoLink': infoLink!,
      if (language != null) 'language': language!,
      if (mainCategory != null) 'mainCategory': mainCategory!,
      if (maturityRating != null) 'maturityRating': maturityRating!,
      if (pageCount != null) 'pageCount': pageCount!,
      if (panelizationSummary != null)
        'panelizationSummary': panelizationSummary!,
      if (previewLink != null) 'previewLink': previewLink!,
      if (printType != null) 'printType': printType!,
      if (printedPageCount != null) 'printedPageCount': printedPageCount!,
      if (publishedDate != null) 'publishedDate': publishedDate!,
      if (publisher != null) 'publisher': publisher!,
      if (ratingsCount != null) 'ratingsCount': ratingsCount!,
      if (readingModes != null) 'readingModes': readingModes!,
      if (samplePageCount != null) 'samplePageCount': samplePageCount!,
      if (seriesInfo != null) 'seriesInfo': seriesInfo!,
      if (subtitle != null) 'subtitle': subtitle!,
      if (title != null) 'title': title!,
    };