displayError method

dynamic 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

displayError(DioException dioException, BuildContext context) {}