isCancel static method

bool isCancel(
  1. dynamic result
)

Check result is cancel

Implementation

static bool isCancel(result) {
  return result != null && result[RESULT] == CANCEL;
}