constants/api_errors library

Enums

API_ERROR_ENUMS
API error enums.

Properties

API_ERRORS Map<String, Map<String, dynamic>>
API error messages. Each error message has a key and a value.
getter/setter pair

Functions

getApiError(String errorKey) Map<String, dynamic>
Returns the API error message. The errorKey parameter is required and represents the error key.
getApiErrorCode(String errorKey) int
getApiErrorMessage(String errorKey) String