call method

  1. @override
String? call(
  1. String? value
)

Implementation

@override
String? call(String? value) => value == null
    ? null
    : !validators.isURL(
        value,
        protocols: protocols,
        requireTld: requireTld,
        requireProtocol: requireProtocol,
        allowUnderscore: allowUnderscore,
        hostWhitelist: hostWhitelist,
        hostBlacklist: hostBlacklist,
      )
        ? message
        : null;