no message

parent 266680a6
...@@ -100,24 +100,7 @@ class Api<T> { ...@@ -100,24 +100,7 @@ class Api<T> {
return result; return result;
} }
Future<Response<T>> shoplist(Object body) async{
var _model;
var _fail;
var result;
await _httpConnection("${this._baseApi}/store", this._headerApi, body).then((response){
print("ผลลัพท์ เท่ากับ " "${response.body}");
if (response.statusCode == 200) {
// Array to Map Json
Map<String, dynamic> myData = arrayToJson(response.body);
print(myData);
_model =
}
});
}
///api environment ///api environment
Future<http.Response> _httpConnection( Future<http.Response> _httpConnection(
String url, Map<String, String> headers, Object body) async { String url, Map<String, String> headers, Object body) async {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment