copyWith method

EnableTonWalletBackup copyWith({
  1. String? secretPhrase,
  2. 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

EnableTonWalletBackup copyWith({
  String? secretPhrase,
  TonWalletOwnershipProof? proof,
}) => EnableTonWalletBackup(
  secretPhrase: secretPhrase ?? this.secretPhrase,
  proof: proof ?? this.proof,
);