ErrorRule constructor

const ErrorRule({
  1. required ErrorKind kind,
  2. List<String>? codes,
  3. ErrorOutcome? outcome,
  4. ErrorRuleBehavior? behavior,
  5. String? key,
})

Implementation

const ErrorRule({required this.kind, this.codes, this.outcome, this.behavior, this.key});