url static method

ValidationRule<String> url({
  1. String? message,
})

Creates a Url validation rule.

This rule checks if a string is a valid URL. It can include a custom validation message.

Implementation

static ValidationRule<String> url({String? message}) => Url(message: message);