toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deliveryErrors != null) 'deliveryErrors': deliveryErrors!,
      if (dkimSuccessRatio != null) 'dkimSuccessRatio': dkimSuccessRatio!,
      if (dmarcSuccessRatio != null) 'dmarcSuccessRatio': dmarcSuccessRatio!,
      if (domainReputation != null) 'domainReputation': domainReputation!,
      if (inboundEncryptionRatio != null)
        'inboundEncryptionRatio': inboundEncryptionRatio!,
      if (ipReputations != null) 'ipReputations': ipReputations!,
      if (name != null) 'name': name!,
      if (outboundEncryptionRatio != null)
        'outboundEncryptionRatio': outboundEncryptionRatio!,
      if (spammyFeedbackLoops != null)
        'spammyFeedbackLoops': spammyFeedbackLoops!,
      if (spfSuccessRatio != null) 'spfSuccessRatio': spfSuccessRatio!,
      if (userReportedSpamRatio != null)
        'userReportedSpamRatio': userReportedSpamRatio!,
      if (userReportedSpamRatioLowerBound != null)
        'userReportedSpamRatioLowerBound': userReportedSpamRatioLowerBound!,
      if (userReportedSpamRatioUpperBound != null)
        'userReportedSpamRatioUpperBound': userReportedSpamRatioUpperBound!,
    };