TypeViolation class
This class describes a single violation.
Constructors
-
TypeViolation.new({required Type type, required String name, required Map<
String, dynamic> params, required dynamic value, required String path, required String message}) -
Create a new TypeViolation
type
the corresponding typename
the name of the test that failedparams
the parameters of the failed testvalue
the tested valuepath
the path of the current property referencing the valuemessage
optional message of the violationconst
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited