SparkFormatValidator.form constructor

SparkFormatValidator.form(
  1. RegExp? rule, {
  2. required String errorMessage,
  3. VerifyType type = VerifyType.all,
  4. FormStrategy strategy = FormStrategy.limit,
})

vilify result by regexp

Implementation

SparkFormatValidator.form(
  this.rule, {
  required String errorMessage,
  VerifyType type = VerifyType.all,
  FormStrategy strategy = FormStrategy.limit,
}) : super(
        errorMessage: errorMessage,
        type: type,
        strategy: strategy,
      );