execute method
Implementation
@override
Future<Map<String, dynamic>> execute(
Uri url,
Map<String, String> headers,
Map<String, dynamic>? data,
) async {
try {
final response = await client.put(
url,
headers: headers,
body: jsonEncode(data),
);
return jsonDecode(response.body);
} catch (e) {
debugPrint('HttpPostMethod | execute| error: $e');
throw RestApiExceptionHandler.handleException(e);
}
}