FlodError class

Constructors

FlodError({required FlodPath path, required String code, required Map<String, dynamic> params, required dynamic value, String? message, bool isSecret = false})
const

Properties

code String
String i18n error code (e.g. 'string.min')
final
hashCode int
The hash code for this object.
no setterinherited
isSecret bool
Data confidentiality flag
final
message String?
Optional inline message that bypasses the i18n resolver when set.
final
params Map<String, dynamic>
Dynamic rule parameters (e.g. {'limit': 5})
final
path FlodPath
Path to the field where the error occurred
final
rawValue → dynamic
Helper to access the real value inside the library (if needed for internal non-log computations)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
Safe getter for the value. If the field is marked secret, it is strictly masked for external consumers.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Serializes to Map with automatic masking of private data
toString() String
A string representation of this object.
override

Operators

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