PropError.required constructor
Create a new PropError that signifies the given propName is required to be set.
See: requiredProp annotation
Implementation
PropError.required(this.propName, [this.message = ''])
: invalidValue = null,
prop2Name = null,
_messagePrefix = requiredPrefix;