transactions static method
A wrapper around Transaction.all
https://developer.apple.com/documentation/storekit/transaction/3851203-all
A sequence that emits all the customer’s transactions for your app.
Implementation
static Future<List<SK2Transaction>> transactions() async {
final List<SK2TransactionMessage> msgs = await _hostApi.transactions();
final List<SK2Transaction> transactions =
msgs.map((SK2TransactionMessage e) => e.convertFromPigeon()).toList();
return transactions;
}