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