tryFromAccountInfo static method

NonceAccount? tryFromAccountInfo(
  1. AccountInfo? info
)

Creates an instance of this class from an account info.

Returns null if info is omitted.

NonceAccount.tryFromAccountInfo('AA==');

Implementation

static NonceAccount? tryFromAccountInfo(final AccountInfo? info) =>
    info != null ? NonceAccount.fromAccountInfo(info) : null;