toJSON property

Map<String, dynamic> get toJSON

Implementation

Map<String, dynamic> get toJSON => {
      'floorsAscended': floorsAscended,
      'floorsDescended': floorsDescended,
      'startDate': startDate,
      'endDate': endDate,
      'currentPace': currentPace,
      'averageActivePace': averageActivePace,
      'numberOfSteps': numberOfSteps,
      'distance': distance
    };