toJson method
Implementation
Map<String, dynamic> toJson() => {
"historyDay": historyDay,
"stepsList": List<dynamic>.from(stepsList!.map((x) => x)),
"distanceList": List<dynamic>.from(distanceList!.map((x) => x)),
"caloriesList": List<dynamic>.from(caloriesList!.map((x) => x)),
};