setTestPurchaseResult method
Stub purchase attempts with the given result for automated testing.
Implementation
@override
void setTestPurchaseResult(HeliumTransactionStatus result) {
methodChannel
.invokeMethod<void>(setTestPurchaseResultMethodName, result.name)
.catchError((Object e) {
log('[Helium] Failed to set test purchase result: $e');
});
}