cleanedText property

String? get cleanedText

Implementation

String? get cleanedText {
  if (this == null) return null;
  return this!
      .replaceAll(RegExp(r'\s*,\s*'), ', ')
      .replaceAll(RegExp(r'\s+'), ' ')
      .trim();
}