SparkComposeOrValidator.composeOr constructor
SparkComposeOrValidator.composeOr({
- required List<
SparkValidator> validators, - required String errorMessage,
- VerifyType type = VerifyType.all,
- FormStrategy strategy = FormStrategy.noop,
Implementation
SparkComposeOrValidator.composeOr({
required this.validators,
required String errorMessage,
VerifyType type = VerifyType.all,
FormStrategy strategy = FormStrategy.noop,
}) : super(
errorMessage: errorMessage,
type: type,
strategy: strategy,
);