listTransactions method

  1. @override
Future<List<Transaction>> listTransactions({
  1. required int walletId,
  2. required bool skipSync,
})
override

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();
}