tryFromAccountInfo static method
Creates an instance of this
class from an account info
.
Returns null
if info
is omitted.
StakeAccount.tryFromAccountInfo('AA==');
Implementation
static StakeAccount? tryFromAccountInfo(final AccountInfo? info) =>
info != null ? StakeAccount.fromAccountInfo(info) : null;