isNet method

bool isNet()

Implementation

bool isNet() {
  if (mEmpty()) return false;
  return this!.startsWith('http') || this!.startsWith('https');
}