toJson method

Map<String, dynamic> toJson()

Implementation

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