isURL property

bool get isURL

Implementation

bool get isURL {
  final url = this;
  if (url == null) {
    return false;
  }
  return url.startsWith('http') || url.startsWith('https');
}