post method

dynamic post(
  1. String url,
  2. Map<String, dynamic> params, {
  3. required Function success,
  4. required Function error,
  5. required Function complete,
})

post json请求

Implementation

post(String url, Map<String, dynamic> params,
    {required Function success, required Function error, required Function complete}) async {
  _requestHttp(url, "post", params, success, error, complete);
}