DeliverabilityTestReport.fromJson constructor

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

Implementation

factory DeliverabilityTestReport.fromJson(Map<String, dynamic> json) {
  return DeliverabilityTestReport(
    createDate: timeStampFromJson(json['CreateDate']),
    deliverabilityTestStatus: (json['DeliverabilityTestStatus'] as String?)
        ?.toDeliverabilityTestStatus(),
    fromEmailAddress: json['FromEmailAddress'] as String?,
    reportId: json['ReportId'] as String?,
    reportName: json['ReportName'] as String?,
    subject: json['Subject'] as String?,
  );
}