normalizeWhitespace property

String get normalizeWhitespace

Implementation

String get normalizeWhitespace => trim().replaceAll(RegExp(r'\s+'), ' ');