hasMinLengthIfNotNullOrEmpty method
Implementation
ContractValidations hasMinLengthIfNotNullOrEmpty(
String text, int min, String property, String message) {
if (text.isNotEmpty && text.length < min)
addNotifications(
ValidationNotification(property: property, message: message));
return this;
}