copyWith method
TransactionPayload
copyWith({
- double? fees,
- String? from,
- int? lamports,
- String? to,
- SolanaTransaction? transaction,
Implementation
TransactionPayload copyWith({
double? fees,
String? from,
int? lamports,
String? to,
SolanaTransaction? transaction,
}) {
return TransactionPayload(
fees: fees ?? this.fees,
from: from ?? this.from,
lamports: lamports ?? this.lamports,
to: to ?? this.to,
transaction: transaction ?? this.transaction,
);
}