GetEmailIdentityResponse.fromJson constructor
GetEmailIdentityResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetEmailIdentityResponse.fromJson(Map<String, dynamic> json) {
return GetEmailIdentityResponse(
dkimAttributes: json['DkimAttributes'] != null
? DkimAttributes.fromJson(
json['DkimAttributes'] as Map<String, dynamic>)
: null,
feedbackForwardingStatus: json['FeedbackForwardingStatus'] as bool?,
identityType: (json['IdentityType'] as String?)?.toIdentityType(),
mailFromAttributes: json['MailFromAttributes'] != null
? MailFromAttributes.fromJson(
json['MailFromAttributes'] as Map<String, dynamic>)
: null,
tags: (json['Tags'] as List?)
?.whereNotNull()
.map((e) => Tag.fromJson(e as Map<String, dynamic>))
.toList(),
verifiedForSendingStatus: json['VerifiedForSendingStatus'] as bool?,
);
}