TypeViolation class
This class describes a single violation.
Constructors
-
TypeViolation({required Type type, required String name, required Map<
String, dynamic> params, required dynamic value, required String path, required String message}) -
Create a new TypeViolation
typethe corresponding typenamethe name of the test that failedparamsthe parameters of the failed testvaluethe tested valuepaththe path of the current property referencing the valuemessageoptional 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