FieldError class final
Constructors
- FieldError({required String pointer, required String code, required String message, required String fix})
-
const
-
FieldError.fromJson(Map<
String, Object?> json) -
factory
Properties
- code → String
-
Per-field error code, e.g. typeMismatch, unknownField.
final
- fix → String
-
The concrete edit that resolves this finding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
What is wrong with this field.
final
- pointer → String
-
JSON pointer to the offending body member, e.g. /email.
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
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited