From 8e29b1c3b97e08191b7fdb57cc44dbeace4ba66a Mon Sep 17 00:00:00 2001 From: wellgenio Date: Sun, 25 Aug 2024 11:51:06 -0300 Subject: [PATCH] update doc --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 508856f..5193d0e 100644 --- a/README.md +++ b/README.md @@ -160,13 +160,12 @@ You can apply CascadeMode to your validation chain using the cascaded method: ```dart return notEmpty() // - .cascade(CascadeMode.stopOnFirstFailure); // change cascade mode - .minLength(5, message: 'Must be at least 8 characters long') .mustHaveLowercase() .mustHaveUppercase() .mustHaveNumbers() .mustHaveSpecialCharacter() + .cascade(CascadeMode.stopOnFirstFailure); // change cascade mode ``` ## When condition