SparkComposeOrValidator.composeOr constructor

SparkComposeOrValidator.composeOr({
  1. required List<SparkValidator> validators,
  2. required String errorMessage,
  3. VerifyType type = VerifyType.all,
  4. 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,
      );