isHttp static method

bool isHttp(
  1. String input
)

Implementation

static bool isHttp(String input) {
  return httpReg.hasMatch(input);
}