copyWith method
ReplaceTonWallet
copyWith({
- String? password,
- String? anchorPublicKey,
- TonWalletOwnershipProof? proof,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
ReplaceTonWallet copyWith({
String? password,
String? anchorPublicKey,
TonWalletOwnershipProof? proof,
}) => ReplaceTonWallet(
password: password ?? this.password,
anchorPublicKey: anchorPublicKey ?? this.anchorPublicKey,
proof: proof ?? this.proof,
);