toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.recipientEmail != null) {
json[r'recipientEmail'] = this.recipientEmail;
} else {
json[r'recipientEmail'] = null;
}
if (this.giftMessage != null) {
json[r'giftMessage'] = this.giftMessage;
} else {
json[r'giftMessage'] = null;
}
return json;
}