Http extension
Methods
-
httpDelete<T>({dynamic body, required Function converter, bool isAuth = true, Map<String, dynamic>? queryParams, })
→ Future<ApiResponse<T>>
-
-
httpGet<T>({required Function converter, bool isAuth = true, Map<String, dynamic>? queryParams, })
→ Future<ApiResponse<T>>
-
-
httpMultiPart<T>({required Function converter, List<MultipartFile>? files, Map<String, String>? fields, bool isAuth = true, String method = "POST"})
→ Future<ApiResponse<T>>
-
-
httpMultiPartWithProgress<T>({required Function converter, List<FileItem>? files, Map<String, String>? fields, bool isAuth = true, String method = "POST"})
→ Future<ApiResponse<T>>
-
-
httpPost<T>({dynamic body, required Function converter, bool isAuth = true, Map<String, dynamic>? queryParams, })
→ Future<ApiResponse<T>>
-
-
httpPut<T>({dynamic body, required Function converter, bool isAuth = true, Map<String, dynamic>? queryParams, })
→ Future<ApiResponse<T>>
-