copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
UserTonWalletAddress copyWith({
int? userId,
String? walletAddress,
String? publicKey,
dynamic extra,
int? clientId,
}) => UserTonWalletAddress(
userId: userId ?? this.userId,
walletAddress: walletAddress ?? this.walletAddress,
publicKey: publicKey ?? this.publicKey,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);