Callback constructor
const
Callback({
- void onError(
- String e
- void onRequestError(
- DioError e
Implementation
const Callback({this.onError, this.onRequestError});