toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessViewStatus != null) 'accessViewStatus': accessViewStatus!,
      if (country != null) 'country': country!,
      if (downloadAccess != null) 'downloadAccess': downloadAccess!,
      if (driveImportedContentLink != null)
        'driveImportedContentLink': driveImportedContentLink!,
      if (embeddable != null) 'embeddable': embeddable!,
      if (epub != null) 'epub': epub!,
      if (explicitOfflineLicenseManagement != null)
        'explicitOfflineLicenseManagement': explicitOfflineLicenseManagement!,
      if (pdf != null) 'pdf': pdf!,
      if (publicDomain != null) 'publicDomain': publicDomain!,
      if (quoteSharingAllowed != null)
        'quoteSharingAllowed': quoteSharingAllowed!,
      if (textToSpeechPermission != null)
        'textToSpeechPermission': textToSpeechPermission!,
      if (viewOrderUrl != null) 'viewOrderUrl': viewOrderUrl!,
      if (viewability != null) 'viewability': viewability!,
      if (webReaderLink != null) 'webReaderLink': webReaderLink!,
    };