params method

  1. @override
Map<String, dynamic> params()
override

Get the replacement parameters for the message.

These will be passed to Lang.get() for translation replacement. The :attribute key is automatically added by the Validator.

Implementation

@override
Map<String, dynamic> params() => {
  'values': values.map((v) => wire?.call(v) ?? v.name).join(', '),
};