Contract isNotNull(String? val, String key, String message) { if (val == null) { addNotificationByKeyAndMessage(key, message); } return this; }