datakick_sdk 0.2.0 copy "datakick_sdk: ^0.2.0" to clipboard
datakick_sdk: ^0.2.0 copied to clipboard

outdated

A software development kit to interact with the datakick.com product database.

DataKick SDK #

SDK to interface with datakick.com

There are 3 constructors

///Default product
product();
///empty product
product.empty();
///product with just the food parameters
product.food();

Getting, setting and updating product info is easy

///create an object
Product product = new Product.empty();

/// Then pass a barcode to the object and wait for the future
product.getBarcode("00000000000000").then((product) {
    ///Now you can work with your product here...

    // change the name of the product
    product.name = "new name";
    product.update();
}

You can store a list of products in a productmap object as well.

dataKickList(dkl).then(expectAsync1((ProductMap pro3) {
  ///Calling
  dataKickList(pro3).then(expectAsync1((ProductMap pro4) {
    expect(pro3.resp.statusCode, 200);
  }));
}));

Currently Images are not properly handled in updates.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A software development kit to interact with the datakick.com product database.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

camera, convert, firebase_ml_vision, flutter, html, http, json_annotation

More

Packages that depend on datakick_sdk