listTransactions method
Implementation
@override
Future<List<Transaction>> listTransactions({
required int walletId,
required bool skipSync,
}) async {
final result = await methodChannel.invokeMethod<List>('listTransactions', {
'walletId': walletId,
'skipSync': skipSync,
});
return result!
.map((e) => Transaction.fromJson(Map<String, dynamic>.from(e)))
.toList();
}