Map<String, dynamic> toJson() { return { "TITLE": title, "UNIT": unit, "Y": _toString(y), "Y_DISPLAY": yDisplay, }; }