checkUrl method

bool checkUrl(
  1. String url
)

Implementation

bool checkUrl(String url) => Uri.tryParse(url)?.host.isNotEmpty ?? false;