toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'max_points'] = this.maxPoints;
  json[r'since'] = this.since.toUtc().toIso8601String();
  json[r'step_seconds'] = this.stepSeconds;
  json[r'until'] = this.until.toUtc().toIso8601String();
  return json;
}