isCancel 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 cancel
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 isCancel(result) {
return result != null && result[RESULT] == CANCEL;
}