"did you mean" nextStep line, or null when there is nothing to suggest.
String? didYouMean(List<String> suggestions) => suggestions.isEmpty ? null : 'did you mean: ${suggestions.map((s) => '"$s"').join(', ')}';