ExampleValidationError class

A class to represent a validation error in a catalog item example.

Constructors

ExampleValidationError(int exampleIndex, String message, {Object? cause})
Creates a new ExampleValidationError.

Properties

cause Object?
The underlying cause of the error, if any.
final
exampleIndex int
The index of the example in the exampleData list.
final
hashCode int
The hash code for this object.
no setterinherited
message String
The error message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited