Fix a comment.
diff --git a/pkgs/dart_model/lib/src/json_buffer/closed_map.dart b/pkgs/dart_model/lib/src/json_buffer/closed_map.dart
index 4cfc983..35bb7db 100644
--- a/pkgs/dart_model/lib/src/json_buffer/closed_map.dart
+++ b/pkgs/dart_model/lib/src/json_buffer/closed_map.dart
@@ -13,7 +13,7 @@
   //
   // Each entry is: [key (pointer to string), value type, value].
   //
-  // Values are stored with `_writeSmallValueOrPointer`.
+  // Values are stored with `_writeAny`.
   static const _keySize = _pointerSize;
   static const _valueSize = _typeSize + _pointerSize;
   static const _entrySize = _keySize + _valueSize;
diff --git a/pkgs/dart_model/lib/src/json_buffer/growable_map.dart b/pkgs/dart_model/lib/src/json_buffer/growable_map.dart
index 06a4fae..0b4dd58 100644
--- a/pkgs/dart_model/lib/src/json_buffer/growable_map.dart
+++ b/pkgs/dart_model/lib/src/json_buffer/growable_map.dart
@@ -21,7 +21,7 @@
   //
   // Each entry is: [key (pointer to string), value type, value].
   //
-  // Values are stored with `_writeSmallValueOrPointer`.
+  // Values are stored with `_writeAny`.
   static const _keySize = _pointerSize;
   static const _valueSize = _typeSize + _pointerSize;
   static const _entrySize = _pointerSize + _keySize + _valueSize;