hasExactLengthIfNotNullOrEmpty method
Implementation
ContractValidations hasExactLengthIfNotNullOrEmpty(
String text, int len, String property, String message) {
if (text.isNotEmpty && text.length != len) {
addNotifications(
ValidationNotification(property: property, message: message));
}
return this;
}