Map<String, dynamic> toJson() { final Map<String, dynamic> data = {}; data['value'] = value; return data; }