SchemaValidationError.enumViolated constructor
Implementation
const SchemaValidationError.enumViolated(
String value, List<String> possibleValues)
: type = SchemaError.enumViolated,
message = 'Wrong value: [$value] \n\n Possible values: $possibleValues';