    }
          );
        },
      ),
    );
  }
}

</code></pre>
<h3 id="example-of-making-a-post-create-a-customer">Example of making a POST (Create a customer)</h3>
<pre class="language-dart"><code>Future createCustomer() async {
  try {
    var response = await wooCommerceAPI.postAsync(
      "customers",
      {
        "email": 's@c.com',
        "password": "123",
        "billing": {
          "first_name": "Samarth",
        }
      },
    );
    print(response); // JSON Object with response
  } c