toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (timestampMs != null) {
_json['timestampMs'] = timestampMs;
}
if (organizationId != null) {
_json['organizationId'] = organizationId;
}
_json['email'] = email;
_json['targetPublicKey'] = targetPublicKey;
if (expirationSeconds != null) {
_json['expirationSeconds'] = expirationSeconds;
}
if (emailCustomization != null) {
_json['emailCustomization'] = emailCustomization?.toJson();
}
if (sendFromEmailAddress != null) {
_json['sendFromEmailAddress'] = sendFromEmailAddress;
}
if (sendFromEmailSenderName != null) {
_json['sendFromEmailSenderName'] = sendFromEmailSenderName;
}
if (replyToEmailAddress != null) {
_json['replyToEmailAddress'] = replyToEmailAddress;
}
return _json;
}