SchemaValidationStatus class
Status detail for table schema validation and format failures.
- Inheritance
-
- Object
- ResultStatus
- SchemaValidationStatus
Constructors
- SchemaValidationStatus({required ResultType type, required String message, required String tableName, int index = 0, String? field, dynamic wrongValue})
Properties
- code → int
-
Numeric status code
no setterinherited
- codeKey → String
-
Semantic state identifier key
no setterinherited
- field → String?
-
Optional specific field name that caused validation failure
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
Sequence index in batch operations (0 for single operation)
finalinherited
- isBusinessError → bool
-
Whether this status is a Business Error
no setterinherited
- isConstraintError → bool
-
Whether this maps to ConstraintStatus (same range as isBusinessError)
no setterinherited
- isCriticalError → bool
-
Whether this status is a critical system error requiring manual intervention
no setterinherited
- isDeveloperError → bool
-
Whether this status is a Developer Error
no setterinherited
- isEngineError → bool
-
Whether this status is an Engine Error
no setterinherited
- isSystemError → bool
-
Whether this status is a System Error
no setterinherited
- message → String
-
Human-readable description message
finalinherited
- primaryKey → String?
-
Optional primary key of the record associated with this status
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tableName → String
-
The table whose schema is invalid
final
- type → ResultType
-
Leaf result status type
finalinherited
- wrongValue → dynamic
-
The incorrect configuration or schema definition value
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert result status to a Map for serialization
override
-
toString(
) → String -
A string representation of this object.
inherited
-
withIndex(
int newIndex) → SchemaValidationStatus -
Returns a copy of this status with the specified batch sequence index.
If the current index is already equal to
newIndex, returnsthisdirectly.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited