transactions method

Implementation

Future<List<SKPaymentTransactionWrapper>> transactions() async {
  final List<SKPaymentTransactionMessage?> pigeonMsgs =
      await _hostApi.transactions();
  return pigeonMsgs
      .map((SKPaymentTransactionMessage? msg) =>
          SKPaymentTransactionWrapper.convertFromPigeon(msg!))
      .toList();
}