hasDomain static method

bool hasDomain(
  1. String url
)

Implementation

static bool hasDomain(String url) => url.contains('http://') || url.contains('https://');