diphtongs property

List<String> diphtongs

Returns all the diphtongs in the String.

Implementation

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