lines property

List<String> get lines

Exactly what cux_ship appstore builds prints, for a caller that shows this command's output rather than rendering the model itself.

Twenty at most, which is the listing's limit and not builds': the printed form is for reading and the list is for answering questions.

Implementation

List<String> get lines {
  if (builds.isEmpty) {
    return const ['  no builds at all — nothing has ever been uploaded'];
  }
  return <String>[
    for (final build in builds.take(20)) ...[build.line],
  ];
}