attributes property
The settings of the constraint by name, such as {'max': 20, 'min': 0}: they fill the {max} placeholders of messages and, sorted by
name, become the arguments {1}, {2}, ... of field errors. Empty by
default; override it when a custom constraint has settings.
Implementation
Map<String, Object?> get attributes => const {};