isSuccess static method

bool isSuccess(
  1. dynamic result
)

Check result is success

Implementation

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