hasLen method
Implementation
ContractValidations hasLen(
String val, int len, String property, String message) {
if (val.isEmpty || val.length != len)
addNotifications(
ValidationNotification(property: property, message: message));
return this;
}