areLengthEqual method

Contract areLengthEqual(
  1. String? val,
  2. int comparer,
  3. String key,
  4. String message,
)

Implementation

Contract areLengthEqual(
    String? val, int comparer, String key, String message) {
  if (val == null) return this;

  if (val.length != comparer) addNotificationByKeyAndMessage(key, message);

  return this;
}