commerceShare static method

void commerceShare({
  1. required AdBrixSharingChannel sharingChannel,
  2. required AdBrixRmCommerceProductModel productModel,
  3. Map<String, dynamic>? attr,
})

Implementation

static void commerceShare(
    {required AdBrixSharingChannel sharingChannel,
    required AdBrixRmCommerceProductModel productModel,
    Map<String, dynamic>? attr}) {
  Map<String, dynamic> params = {
    'sharingChannel': sharingChannel.toString().split('.').last,
    'productModel': productModel.getProductModel(),
  };

  _invokeWithAttr(
      _AbxAPI.commerceShare.toString().split('.').last, params, attr);
}