extTakeFirst12Words method

String extTakeFirst12Words()

Implementation

String extTakeFirst12Words() {
  if (this == null) return '';

  List<String> words = this!.split(' ');
  List<String> first12Words = words.take(12).toList();
  return first12Words.join(' ');
}