copyWith method
TransferIntentCreate
copyWith({
- String? id,
- DateTime? created,
- TransferIntentCreateStatus? status,
- String? accountId,
- String? originationAccountId,
- String? amount,
- TransferIntentCreateMode? mode,
- ACHClass? achClass,
- TransferUserInResponse? user,
- String? description,
- TransferMetadata? metadata,
Implementation
TransferIntentCreate copyWith(
{String? id,
DateTime? created,
enums.TransferIntentCreateStatus? status,
String? accountId,
String? originationAccountId,
String? amount,
enums.TransferIntentCreateMode? mode,
enums.ACHClass? achClass,
TransferUserInResponse? user,
String? description,
TransferMetadata? metadata}) {
return TransferIntentCreate(
id: id ?? this.id,
created: created ?? this.created,
status: status ?? this.status,
accountId: accountId ?? this.accountId,
originationAccountId: originationAccountId ?? this.originationAccountId,
amount: amount ?? this.amount,
mode: mode ?? this.mode,
achClass: achClass ?? this.achClass,
user: user ?? this.user,
description: description ?? this.description,
metadata: metadata ?? this.metadata);
}