handleJSONResponse function
Handles the JSON response for IP address retrieval.
Returns: A Map representing the JSON response with 'status' and 'ip_address' keys.
Implementation
Map<String, dynamic> handleJSONResponse({
bool status = false,
String value = '',
}) {
return {
'status': status,
'ip_address': value,
};
}