TimeTrackingDetails.fromJson constructor
Implementation
factory TimeTrackingDetails.fromJson(Map<String, Object?> json) {
return TimeTrackingDetails(
originalEstimate: json[r'originalEstimate'] as String?,
originalEstimateSeconds:
(json[r'originalEstimateSeconds'] as num?)?.toInt(),
remainingEstimate: json[r'remainingEstimate'] as String?,
remainingEstimateSeconds:
(json[r'remainingEstimateSeconds'] as num?)?.toInt(),
timeSpent: json[r'timeSpent'] as String?,
timeSpentSeconds: (json[r'timeSpentSeconds'] as num?)?.toInt(),
);
}