ForeignSpendsCheckedEvent constructor

ForeignSpendsCheckedEvent({
  1. required String walletId,
  2. String? requestId,
  3. required bool success,
  4. List<String> checked = const [],
  5. List<ForeignSpend> spends = const [],
  6. Map<String, String> unchecked = const {},
  7. String? error,
})

Implementation

ForeignSpendsCheckedEvent({
  required this.walletId,
  this.requestId,
  required this.success,
  List<String> checked = const [],
  List<ForeignSpend> spends = const [],
  Map<String, String> unchecked = const {},
  this.error,
})  : checked = frozenList(checked),
      spends = frozenList(spends),
      unchecked = frozenMap(unchecked);