save method
Implementation
Future<void> save(StepData data) async {
_lastSaveTime = TZDateTime.now(_timezone);
SharedPreferences preferences = await SharedPreferences.getInstance();
final json = jsonEncode(data.toJson());
print("DailyPedometerStorage save : $json");
await preferences.setString(storageKey, json);
}