buildModelMenuForTest method
Test seam driving the TUI model-menu builder in line mode: the same
_buildModelMenu the TUI's model picker renders. width is the
terminal width the table lays its columns out for (80 = the headless
default).
Implementation
@visibleForTesting
List<MenuItem> buildModelMenuForTest(String filter, {int width = 80}) =>
_buildModelMenu(filter, width);