getApiErrorMessage function

String getApiErrorMessage(
  1. String errorKey
)

Implementation

String getApiErrorMessage(String errorKey) {
  return API_ERRORS[errorKey]?['message'] ?? '';
}