DioClient constructor

DioClient({
  1. int? timeout,
  2. Environment? environment,
})

Implementation

DioClient({this.timeout, this.environment}) {
  log(environment?.getApiUrl());
  client = dio.Dio(dio.BaseOptions(
    baseUrl: environment?.getApiUrl(),
  ));
}