You can create a Post class as below:
Read moreHow do I post a multipart form data in Flutter?
Diving into MultipartRequest
Read moreWhat is form data in POST request in flutter?
Makes a server POST request with the specified data encoded as form data. … This method is similar to sending a FormData object with broader browser support but limited to String values. If data is supplied, the key/value pairs are URI encoded with Uri.
Read moreHow do I send form data in HTTP request flutter?
“post form data with json object flutter” Code Answer
Read moreHow do I send a HTTP request flutter?
This recipe uses the following steps:
Read moreHow do I make an HTTP API request?
Go to ApiRequest.IO which automatically creates a new workspace. Enter the URL of the API you want to call in Request Builder. You can also enter any HTTP request headers and URL query parameters. If body is required like a POST, you can enter the JSON payload for the request body.
Read more