trackerToJson method

Json trackerToJson()

Returns a json-encodable map representing the current TimeTracker status and the stored time points.

Implementation

Json trackerToJson() => <String, Object?>{
  $status: _status.toJson(),
  $timePoints: List.unmodifiable(_timePoints),
};