Index: pkg/dart_messages/bin/message_id.dart |
diff --git a/pkg/dart_messages/bin/message_id.dart b/pkg/dart_messages/bin/message_id.dart |
index 2d7ed5387cfb9c349b1b6f4e82d91fe8384c8eb7..f94b384c01839328ad9a690c6173dadf27991673 100644 |
--- a/pkg/dart_messages/bin/message_id.dart |
+++ b/pkg/dart_messages/bin/message_id.dart |
@@ -23,7 +23,7 @@ String computeId() { |
/// Computes a random message ID that hasn't been used before. |
void main() { |
var usedIds = |
- shared_messages.MESSAGES.values.map((entry) => entry['id']).toSet(); |
+ shared_messages.MESSAGES.values.map((entry) => entry.id).toSet(); |
print("${usedIds.length} existing ids"); |