hasMaxLen method
Implementation
ContractValidations hasMaxLen(
String val, int max, String property, String message) {
if (val.isEmpty || val.length > max)
addNotifications(
ValidationNotification(property: property, message: message));
return this;
}