MailFromAttributes.fromJson constructor

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

Implementation

factory MailFromAttributes.fromJson(Map<String, dynamic> json) {
  return MailFromAttributes(
    behaviorOnMxFailure:
        (json['BehaviorOnMxFailure'] as String).toBehaviorOnMxFailure(),
    mailFromDomain: json['MailFromDomain'] as String,
    mailFromDomainStatus:
        (json['MailFromDomainStatus'] as String).toMailFromDomainStatus(),
  );
}