Converts this object to a JSON map.
Map<String, dynamic> toJson() { return { 'id': id, 'text': text, }; }