trimAll method

Iterable<String> trimAll()

Implementation

Iterable<String> trimAll() => map((string) => string.replaceAllMapped(RegExp(r'^\s+|\s+$'), (match) => ""));