more refactors and logs page handling

This commit is contained in:
shenlong-tanwen
2024-10-23 02:30:46 +05:30
parent 8f47645cdb
commit a0afea04d8
90 changed files with 2386 additions and 584 deletions
@@ -1,4 +1,4 @@
extension SortIterable<T> on Iterable<T> {
Iterable<T> sortedBy(Comparable Function(T k) key) =>
toList()..sort((a, b) => key(a).compareTo(key(b)));
List.of(this)..sort((a, b) => key(a).compareTo(key(b)));
}