ValidationParser<I, O> constructor

const ValidationParser<I, O>(
  1. O converter(
    1. I value
    ), {
  2. String? errorCode,
  3. List<Validator<O>> validators = const [],
})

Implementation

const ValidationParser(
  this.converter, {
  String? errorCode,
  this.validators = const [],
}) : super(errorCode);