tryFromAccountInfo static method

MasterEditionAccount? tryFromAccountInfo(
  1. AccountInfo? info
)

Creates an instance of this class from an account info.

Returns null if info is omitted.

MasterEditionAccount.tryFromAccountInfo('AA==');

Implementation

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