setup method
Implementation
void setup(
BaseOptions? baseOptions,
List<Interceptor>? interceptors,
bool useLogInterceptor,
) {
_dioClient = Dio(baseOptions);
_dioClient.interceptors.addAll(interceptors ?? []);
if (useLogInterceptor) {
_dioClient.interceptors.add(LogInterceptor(
requestBody: true,
responseBody: true,
));
}
}