TypeViolation constructor
const
TypeViolation({})
Create a new TypeViolation
type
the corresponding type
name
the name of the test that failed
params
the parameters of the failed test
value
the tested value
path
the path of the current property referencing the value
message
optional message of the violation
Implementation
const TypeViolation({
required this.type,
required this.name,
required this.params,
required this.value,
required this.path,
required this.message});