toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (isDefault != null) 'isDefault': isDefault!,
      if (isPrimary != null) 'isPrimary': isPrimary!,
      if (replyToAddress != null) 'replyToAddress': replyToAddress!,
      if (sendAsEmail != null) 'sendAsEmail': sendAsEmail!,
      if (signature != null) 'signature': signature!,
      if (smtpMsa != null) 'smtpMsa': smtpMsa!,
      if (treatAsAlias != null) 'treatAsAlias': treatAsAlias!,
      if (verificationStatus != null)
        'verificationStatus': verificationStatus!,
    };