updateStateFromActiveProducts method
Whenever the plugin receives a new active Products we will update the state to either
PURCHASED or NOT_PURCHASED
Implementation
updateStateFromActiveProducts(LinkFiveActiveProducts activeProducts) {
if (activeProducts.isNotEmpty) {
purchaseState = PurchaseState.PURCHASED;
} else {
purchaseState = PurchaseState.NOT_PURCHASED;
}
}