toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final elapsedTime = this.elapsedTime;
  final metrics = this.metrics;
  final stepCount = this.stepCount;
  return {
    'elapsedTime': ?elapsedTime,
    'metrics': ?metrics,
    'stepCount': ?stepCount,
  };
}