copyWith method

UserTonWalletAddress copyWith({
  1. int? userId,
  2. String? walletAddress,
  3. String? publicKey,
  4. dynamic extra,
  5. int? clientId,
})

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,
);