ValidationError extension type

A validation error with detailed information about the location of the error.

on

Constructors

ValidationError.new(ValidationErrorType error, {List<String>? path, String? details})
factory
ValidationError.fromMap(Map<String, Object?> _value)

Properties

details String?
Additional details about the error (optional).
no setter
error ValidationErrorType?
The type of validation error that occurred.
no setter
path List<String>?
The path to the object that had the error.
no setter

Methods

toErrorString() String