update method
Implementation
Future<void> update({
required String baseURL,
required String tokenType,
required String token,
}) async {
BaseOptions options = BaseOptions(
headers: {
"Accept": "application/json",
"Authorization": "$tokenType $token",
},
baseUrl: baseURL,
/*connectTimeout: 180000,
receiveTimeout: 180000,*/
connectTimeout: const Duration(seconds: 60),
receiveTimeout: const Duration(seconds: 60),
);
dio.options = options;
}