DomainDeliverabilityTrackingOption.fromJson constructor

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

Implementation

factory DomainDeliverabilityTrackingOption.fromJson(
    Map<String, dynamic> json) {
  return DomainDeliverabilityTrackingOption(
    domain: json['Domain'] as String?,
    inboxPlacementTrackingOption: json['InboxPlacementTrackingOption'] != null
        ? InboxPlacementTrackingOption.fromJson(
            json['InboxPlacementTrackingOption'] as Map<String, dynamic>)
        : null,
    subscriptionStartDate: timeStampFromJson(json['SubscriptionStartDate']),
  );
}