isUrl static method

bool isUrl(
  1. String? value
)

Implementation

static bool isUrl(String? value) {
  return value != null && value.startsWith('http');
}