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