displayError method

void displayError(
  1. DioException dioException,
  2. BuildContext context
)

Display a error to the user This method is only called if you provide the API service with a BuildContext.

Implementation

void displayError(DioException dioException, BuildContext context) {}