toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (claimAppearances != null) 'claimAppearances': claimAppearances!,
      if (claimAuthor != null) 'claimAuthor': claimAuthor!.toJson(),
      if (claimDate != null) 'claimDate': claimDate!,
      if (claimFirstAppearance != null)
        'claimFirstAppearance': claimFirstAppearance!,
      if (claimLocation != null) 'claimLocation': claimLocation!,
      if (claimReviewed != null) 'claimReviewed': claimReviewed!,
      if (rating != null) 'rating': rating!.toJson(),
      if (url != null) 'url': url!,
    };