isFail static method

  1. @Deprecated('It will be removed on Nav 2025 - 3.0. Please use pushForResult Method with Generic instead of comparing string and dynamic')
bool isFail(
  1. 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;
}