toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "totalTime": totalTime,
      "restfulTime": restfulTime,
      "lightTime": lightTime,
      "soberTime": soberTime,
      "remTime": remTime,
      "details": details,
    };