send list of data to server flutter
Map<String, String> headers = {
'Content-type': 'application/json',
'Accept': 'application/json',
};
final response = await http.post(Uri.encodeFull(url), body: json.encode(body), headers: headers);