We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd30346 commit 659aaa1Copy full SHA for 659aaa1
packages/firebase_database/lib/ui/firebase_list.dart
@@ -85,7 +85,6 @@ class FirebaseList extends ListBase<DataSnapshot>
85
86
int _indexForKey(String key) {
87
assert(key != null);
88
- // TODO(jackson): We could binary search since the list is already sorted.
89
for (int index = 0; index < _snapshots.length; index++) {
90
if (key == _snapshots[index].key) {
91
return index;
0 commit comments