summary property
String
get
summary
One line, for a comment's footer:
linux · 8 CPUs · impeller-vulkan · 1 job.
Implementation
String get summary => [
?os,
if (cpus case var n?) '$n CPU${n == 1 ? '' : 's'}',
?rasterizer,
if (jobs case var n?) '$n job${n == 1 ? '' : 's'}',
].join(' · ');