vowels property

List<String> get vowels

Returns all the vowels in the String.

Implementation

List<String> get vowels => RegExp(r'[aeiouyà-æè-ðò-öø-ÿ]')
    .allMatches(this)
    .map((e) => e.group(0) as String)
    .toList();