PropError.value constructor
Create a new PropError that signifies the given propName is set to an invalidValue.
Implementation
PropError.value(this.invalidValue, this.propName, [this.message = ''])
: prop2Name = null,
_messagePrefix = invalidPrefix;