progbonus_vendor_client 0.0.2 icon indicating copy to clipboard operation
progbonus_vendor_client: ^0.0.2 copied to clipboard

Flutter package for ProgBonus Vendor Clients app.

Flutter package for ProgBonus Vendor Clients app.

Features #

  • Get customer information
  • Get customer's bonus information

Getting started #

import 'package:progbonus_vendor_client/progbonus_vendor_client.dart';

Usage #

Get.lazyPut<IProgBonusClient>(
    () => ProgBonusClient(
      baseUrl: Get.find<IAppConfig>().PROGBONUS_API_URL,
      tenantsId: Get.find<IAppConfig>().PROGBONUS_TENANT_ID,
      secret: Get.find<IAppConfig>().PROGBONUS_TENANT_SECRET,
      getAccessToken: () {
        final accessToken = Get.find<AuthService>().idToken;
        return accessToken;
      },
    ),
  );

Additional information #

TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.

0
likes
100
pub points
33%
popularity

Publisher

unverified uploader

Flutter package for ProgBonus Vendor Clients app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

crypto, equatable, fluent_result, flutter, http

More

Packages that depend on progbonus_vendor_client