toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
    "daily": daily?.toJson(),
    "monthly": monthly?.toJson(),
    "lifetime": lifetime?.toJson(),
    "weekly": weekly?.toJson(),
    "highestPercentage": highestPercentage,
};