EntityFieldInvalid class
An entity field validation error.
- Inheritance
- Implemented types
Constructors
-
EntityFieldInvalid(String reason, Object? value, {Type? entityType, String? tableName, String? fieldName, Map<
String, EntityFieldInvalid> ? subEntityErrors, Object? parentError, StackTrace? parentStackTrace, Object? previousError, Object? operation})
Properties
- entityType → Type?
-
The entity Type.
final
- fieldName → String?
-
The field name of the value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
no setter
- operation → Object?
-
The operation that caused the Exception.
final
- parentError → Object?
-
The parent/original error.
final
- parentStackTrace → StackTrace?
-
The parentError StackTrace.
final
- previousError → Object?
-
The previous error in the same Transaction.
final
- reason → String
-
The reason of the invalid error.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
-
subEntityErrors
→ Map<
String, EntityFieldInvalid> ? -
The errors of the sub-entity (value) in the fieldName.
final
- tableName → String?
-
The table of the entityType.
final
- value → Object?
-
The invalid value.
final
Methods
-
copyWith(
{String? reason, Object? value, Type? entityType, String? tableName, String? fieldName, Map< String, EntityFieldInvalid> ? subEntityErrors, Object? parentError, StackTrace? parentStackTrace}) → EntityFieldInvalid -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveToString(
Object? o, {String indent = '-- ', Set< Object> ? processedObjects}) → String? -
toString(
{Set< Object> ? processedObjects}) → String -
A string representation of this object.
override
-
toStringSimple(
) → String -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited