onError abstract method

void onError(
  1. String message,
  2. String responseData
)

失败回调 message 异常消息 responseData dio响应数据

Implementation

void onError(String message, String responseData);