Index: samples/chat/chat_server_lib.dart |
diff --git a/samples/chat/chat_server_lib.dart b/samples/chat/chat_server_lib.dart |
index ec195558662c0289ab5fd67c4319c8522a91f31e..5741417947238fc934bc7cd3dc32acc44930373a 100644 |
--- a/samples/chat/chat_server_lib.dart |
+++ b/samples/chat/chat_server_lib.dart |
@@ -625,7 +625,7 @@ class IsolatedServer { |
class Rate { |
Rate([int timeRange = 1000, int buckets = 10]) |
: _timeRange = timeRange, |
- _buckets = new List.fixedLength(buckets + 1), // Current bucket is not in the sum. |
+ _buckets = new List(buckets + 1), // Current bucket is not in the sum. |
_currentBucket = 0, |
_currentBucketTime = new DateTime.now().millisecondsSinceEpoch, |
_sum = 0 { |