toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.recipientIdentifier != null) {
json[r'recipientIdentifier'] = this.recipientIdentifier;
} else {
json[r'recipientIdentifier'] = null;
}
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;
}
if (this.value != null) {
json[r'value'] = this.value;
} else {
json[r'value'] = null;
}
if (this.maxPrice != null) {
json[r'maxPrice'] = this.maxPrice;
} else {
json[r'maxPrice'] = null;
}
return json;
}