placeorder method
Implementation
Future<OrderRes> placeorder(OrderData data) async {
var res = await http.post(
Uri.parse('$baseurl/auth/login'),
headers: <String, String>{
'Content-Type': 'application/json',
},
body: data.toJson(),
);
return OrderRes.fromJson(jsonDecode(res.body));
}