import 'package:dio/dio.dart'; /// post Future post(String url,Map params) { // add authorization header return Dio().post(url, data: params); }