put method
Implementation
Future put(String url,
[Map<String, dynamic>? data,
resultDialogConfig,
bool isCancelWhiteList = false]) async {
Response? response;
try {
response = await dio?.put(url,
data: data,
cancelToken: isCancelWhiteList ? whiteListCancelToken : cancelToken);
return response?.data;
} catch (e) {
_catchOthersError(e);
} finally {
_showResultDialog(response, resultDialogConfig);
}
}