copyWith method

TransferIntent<T> copyWith({
  1. String? memo,
  2. Amount? amount,
  3. T? feeInfo,
})

Implementation

TransferIntent<T> copyWith({
  String? memo,
  Amount? amount,
  T? feeInfo,
}) {
  return TransferIntent<T>(
    recipient: recipient,
    amount: amount ?? this.amount,
    feeInfo: feeInfo ?? this.feeInfo,
    token: token,
    memo: memo ?? this.memo,
  );
}