purchaseInProgressStream method
Implementation
@override
Stream<bool> purchaseInProgressStream() {
// clean streams
_cleanStreams(_streamControllerPendingPurchase);
// create new stream controller
var controller = StreamController<bool>();
_streamControllerPendingPurchase.add(controller);
controller.add(_isPendingPurchase);
_checkPurchaseStateAndLoad();
return controller.stream;
}