isFail static method
- @Deprecated('It will be removed on Nav 2025 - 3.0. Please use pushForResult Method with Generic instead of comparing string and dynamic')
- dynamic result
Check result is fail
Implementation
@Deprecated(
'It will be removed on Nav 2025 - 3.0. Please use pushForResult Method with Generic instead of comparing string and dynamic')
static bool isFail(result) {
return result != null && result[RESULT] == FAIL;
}