fetchProducts static method
By Default, the plugin does not fetch any Products to offer.
You have to call this method at least once. The best case would be to call fetchProducts whenever you want to show your offer
Whenever you want to offer subscriptions to your users.
This method will call LinkFive to get all available subscriptions for the user and then uses the native methods for either ios or android to fetch the subscription details like duration, price, name, id etc.
All Data will be send to the stream
@return LinkFiveProducts
or null if no subscriptions found
Implementation
static Future<LinkFiveProducts?> fetchProducts() {
return LinkFivePurchasesImpl().fetchProducts();
}