getApiErrorCode function

int getApiErrorCode(
  1. String errorKey
)

Implementation

int getApiErrorCode(String errorKey) {
  return API_ERRORS[errorKey]?['statusCode'] ?? 0;
}