WooCommerceAPI class

url is you're site's base URL, e.g. https://www.yourdomain.com

consumerKey is the consumer key provided by WooCommerce, e.g. ck_1a2b3c4d5e6f7g8h9i

consumerSecret is the consumer secret provided by WooCommerce, e.g. cs_1a2b3c4d5e6f7g8h9i

isHttps check if url is https based

Constructors

WooCommerceAPI({required String url, required String consumerKey, required String consumerSecret})

Properties

consumerKey String
getter/setter pair
consumerSecret String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isHttps bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
getter/setter pair

Methods

getAsync(String endPoint) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postAsync(String endPoint, Map data) Future
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited