ContractViolation constructor

const ContractViolation(
  1. String pointer,
  2. String code,
  3. String detail
)

Creates a violation at pointer with code (the FieldError.code of 06 5) and a short detail that never repeats the value.

Implementation

const ContractViolation(this.pointer, this.code, this.detail);