ValidationError constructor

const ValidationError(
  1. int code,
  2. String message,
  3. String propertyName
)

Creates a ValidationError from code, message, and propertyName.

Implementation

const ValidationError(this.code, this.message, this.propertyName);