toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acquiredTime != null) 'acquiredTime': acquiredTime!,
      if (acquisitionType != null) 'acquisitionType': acquisitionType!,
      if (copy != null) 'copy': copy!,
      if (entitlementType != null) 'entitlementType': entitlementType!,
      if (familySharing != null) 'familySharing': familySharing!,
      if (isFamilySharedFromUser != null)
        'isFamilySharedFromUser': isFamilySharedFromUser!,
      if (isFamilySharedToUser != null)
        'isFamilySharedToUser': isFamilySharedToUser!,
      if (isFamilySharingAllowed != null)
        'isFamilySharingAllowed': isFamilySharingAllowed!,
      if (isFamilySharingDisabledByFop != null)
        'isFamilySharingDisabledByFop': isFamilySharingDisabledByFop!,
      if (isInMyBooks != null) 'isInMyBooks': isInMyBooks!,
      if (isPreordered != null) 'isPreordered': isPreordered!,
      if (isPurchased != null) 'isPurchased': isPurchased!,
      if (isUploaded != null) 'isUploaded': isUploaded!,
      if (readingPosition != null) 'readingPosition': readingPosition!,
      if (rentalPeriod != null) 'rentalPeriod': rentalPeriod!,
      if (rentalState != null) 'rentalState': rentalState!,
      if (review != null) 'review': review!,
      if (updated != null) 'updated': updated!,
      if (userUploadedVolumeInfo != null)
        'userUploadedVolumeInfo': userUploadedVolumeInfo!,
    };