TransactionHistory constructor
TransactionHistory({
- Iterable<
TransactionDetails> ? transactions, - String? error,
Implementation
factory TransactionHistory({
$core.Iterable<TransactionDetails>? transactions,
$core.String? error,
}) {
final _result = create();
if (transactions != null) {
_result.transactions.addAll(transactions);
}
if (error != null) {
_result.error = error;
}
return _result;
}