isUrl property

bool get isUrl

Implementation

bool get isUrl {
  if (this == null) return false;
  return this!.startsWith('http://') || this!.startsWith('https://');
}