|
|
|
|
@ -123,10 +123,11 @@ class ProductDetailService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future notifyMe(customerId, itemID, context) async {
|
|
|
|
|
Future notifyMe(customerId, itemID, ) async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
await baseAppClient.getPharmacy(SUBSCRIBE_PRODUCT + "SinceId=$customerId&ProductId=$itemID", onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
AppToast.showSuccessToast(message: TranslationBase.of(context).notifyMeMsg
|
|
|
|
|
AppToast.showSuccessToast(message: TranslationBase.of(AppGlobal.context).notifyMeMsg
|
|
|
|
|
// TranslationBase.of(context).notifyMeMsg
|
|
|
|
|
//'You will be notified when product available'
|
|
|
|
|
);
|
|
|
|
|
}, onFailure: (String error, int statusCode) {
|
|
|
|
|
|