Converts this TimelineModel to a Map
Map<String, dynamic> toMap() { return {'step_count': stepCount, 'timestamp': timestamp}; }