PlacementStatistics.fromJson constructor

PlacementStatistics.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PlacementStatistics.fromJson(Map<String, dynamic> json) {
  return PlacementStatistics(
    dkimPercentage: json['DkimPercentage'] as double?,
    inboxPercentage: json['InboxPercentage'] as double?,
    missingPercentage: json['MissingPercentage'] as double?,
    spamPercentage: json['SpamPercentage'] as double?,
    spfPercentage: json['SpfPercentage'] as double?,
  );
}