isUrl method

bool isUrl()

判断字符串是否是Url

Implementation

bool isUrl() => _regExp(r'^((ht|f)tps?):\/\/[^\s]*$');