url static method

AskValidator url({
  1. List<String> protocols = const ['https'],
})

Validates that the input is a valid url. You may pass in a list of acceptable protocols. By default only 'https' is allowed.

Implementation

static AskValidator url({List<String> protocols = const ['https']}) =>
    _AskURL(protocols: protocols);