StepData.fromJson constructor
Implementation
StepData.fromJson(Map<String, dynamic> json)
: previousDate = json['previousDate'],
previousStepCount = json['previousStepCount'] ?? 0,
todayDate = json['todayDate'],
todayStepCount = json['todayStepCount'] ?? 0,
bootCount = json['bootCount'],
stack = json['stack']?.cast<int>() ?? [],
lastSavedAt = json['tzLastSavedAt'],
previousStepCountSavedAt = json['tzPreviousStepCountSavedAt'];