Closed vHanda closed 2 years ago
Hello.
test('Key Order', () { var map = ListMap.of({ 'b': 1, 'a': 2, }); var str1 = ""; map.forEach((key, value) => str1 += key); var str2 = ""; for (var e in map.entries) { str2 += e.key; } expect(str1, str2); });
forEach gives ab (incorrect) for gives ba (correct)
ab
ba
Thank you for catching this! Fixed in version [7.1.3].
Hello.
forEach gives
ab
(incorrect) for givesba
(correct)