fix: Add byteCount initialization in PathRecord.fromJson method

This commit is contained in:
Winston Lowe
2026-05-11 18:18:28 -07:00
parent 247db6a36d
commit a270e2e6d1
+1
View File
@@ -50,6 +50,7 @@ class PathRecord {
successCount: json['success_count'] as int? ?? 0,
failureCount: json['failure_count'] as int? ?? 0,
routeWeight: (json['route_weight'] as num?)?.toDouble() ?? 1.0,
byteCount: json['byte_count'] as int? ?? 0,
);
}
}