From a270e2e6d1505286e631c8e6488bf9476a2e1f30 Mon Sep 17 00:00:00 2001 From: Winston Lowe Date: Mon, 11 May 2026 18:18:28 -0700 Subject: [PATCH] fix: Add byteCount initialization in PathRecord.fromJson method --- lib/models/path_history.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/models/path_history.dart b/lib/models/path_history.dart index db132b52..4af95398 100644 --- a/lib/models/path_history.dart +++ b/lib/models/path_history.dart @@ -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, ); } }