ValidationError constructor

const ValidationError(
  1. String propertyName
)

Implementation

const ValidationError(this.propertyName);