LogMetrics.fromJson constructor
Deserializes a JSON-compatible map to create a LogMetrics instance.
Used internally, not intended for direct use by consumers. The expected map structure may change without notice.
Implementation
factory LogMetrics.fromJson(final Map<String, dynamic> json) {
return LogMetrics(
distanceMeters: json['distanceMeters'],
elevationGainMeters: json['elevationGainMeters'],
avgSpeedMps: json['avgSpeedMps'],
);
}