rangeErr method
No description provided for @rangeErr.
In en, this message translates to: 'Must be between {date1} and {date2}'
Implementation
@override
String rangeErr(DateTime date1, DateTime date2) {
final intl.DateFormat date1DateFormat = intl.DateFormat.yMd(localeName);
final String date1String = date1DateFormat.format(date1);
final intl.DateFormat date2DateFormat = intl.DateFormat.yMd(localeName);
final String date2String = date2DateFormat.format(date2);
return 'Must be between $date1String and $date2String';
}