isURL function

bool isURL(
  1. String value
)

Implementation

bool isURL(String value) {
  return value.startsWith('http://') || value.startsWith('https://');
}