Map<String, dynamic> toJson() { final fromAddress = this.fromAddress; return { if (fromAddress != null) 'FromAddress': fromAddress, }; }