youtube static method

LiteValidator youtube({
  1. String? errorText,
  2. bool allowEmpty = false,
})

Implementation

static LiteValidator youtube({
  String? errorText,
  bool allowEmpty = false,
}) {
  return YoutubeUrlValidator(
    errorText: errorText,
    allowEmpty: allowEmpty,
  );
}