buy static method
Buy product
Implementation
static Future<IaphubTransaction> buy(String sku,
{bool crossPlatformConflict = true, String? prorationMode}) async {
final data =
await _invokeMethodAndParseResult<Map<String, dynamic>>('buy', {
"sku": sku,
"crossPlatformConflict": crossPlatformConflict,
"prorationMode": prorationMode
});
return IaphubTransaction.fromJson(data);
}