extractLinks static method

List<String> extractLinks(
  1. String text
)

Implementation

static List<String> extractLinks(String text) {
  return _urlRegex.allMatches(text).map((m) => m.group(0)!).toList();
}