validateRecipientResult property
ValidatedAddress
validateRecipientResult
getter/setter pair
Drives validateRecipient in widget/unit tests. Default: a shielded,
memo-capable recipient — so the existing send tests that enter the default
recipient and tap Review keep a VALID (Review-enabled) recipient. Override
to ValidatedAddress(memoCapable: false) to model a transparent recipient,
or set validateRecipientThrows to a typed WalletApiError
(addressInvalid / networkMismatch) to model a bad/wrong-network paste.
Implementation
ValidatedAddress validateRecipientResult = const ValidatedAddress(
memoCapable: true,
);