InlineRule<T> constructor

const InlineRule<T>(
  1. bool validator(
    1. T? value
    ), {
  2. String? message,
  3. String name = 'inline_rule',
})

Implementation

const InlineRule(
  this.validator, {
  super.message,
  this.name = 'inline_rule',
});