findPotentialPhoneNumbers static method
Implementation
static Iterable<PhoneNumber> findPotentialPhoneNumbers(String text) =>
TextParser.findPotentialPhoneNumbers(text).map((match) {
try {
return PhoneNumber.parse(match.group(0)!);
} catch (e) {
return null;
}
}).whereType<PhoneNumber>();