VLiteral<T> constructor
Creates a literal validator that only accepts _expected.
Pass message to override the default translation used
when the input is null.
Implementation
VLiteral(this._expected, {super.message, super.invalidTypeMessage});