Index: runtime/observatory/lib/src/app/view_model.dart |
diff --git a/runtime/observatory/lib/src/app/view_model.dart b/runtime/observatory/lib/src/app/view_model.dart |
index e7e546f36147ff01bc17d9c2a32be5fc292e3a72..d312cb3e917343897b830fc96015e640f4bb017f 100644 |
--- a/runtime/observatory/lib/src/app/view_model.dart |
+++ b/runtime/observatory/lib/src/app/view_model.dart |
@@ -10,11 +10,11 @@ class SortedTableColumn { |
static String toStringFormatter(dynamic v) { |
return v != null ? v.toString() : '<null>'; |
} |
+ |
final String label; |
final ValueFormatter formatter; |
SortedTableColumn.withFormatter(this.label, this.formatter); |
- SortedTableColumn(this.label) |
- : formatter = toStringFormatter; |
+ SortedTableColumn(this.label) : formatter = toStringFormatter; |
} |
class SortedTableRow { |
@@ -35,6 +35,7 @@ class SortedTable { |
assert(index < columns.length); |
_sortColumnIndex = index; |
} |
+ |
int get sortColumnIndex => _sortColumnIndex; |
bool _sortDescending = true; |
bool get sortDescending => _sortDescending; |
@@ -42,7 +43,6 @@ class SortedTable { |
_sortDescending = descending; |
} |
- |
dynamic getSortKeyFor(int row, int col) { |
return rows[row].values[col]; |
} |