You're using dynamic dates for the names of the {confirmed,deaths,recovered} objects in a timeseries array.
The timeseries array should really have objects of type {date, confirmed, deaths, recovered}. To consume this in mobile, you'd have to pre-define all the possible dates and have them nullable or parse the timeseries as a string and split up the values.
You're using dynamic dates for the names of the {confirmed,deaths,recovered} objects in a timeseries array.
The timeseries array should really have objects of type {date, confirmed, deaths, recovered}. To consume this in mobile, you'd have to pre-define all the possible dates and have them nullable or parse the timeseries as a string and split up the values.