MetaplexHydraAddMemberWalletLayout.fromBuffer constructor
Implementation
factory MetaplexHydraAddMemberWalletLayout.fromBuffer(List<int> data) {
final decode = MetaplexHydraProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction:
MetaplexHydraProgramInstruction.processAddMemberWallet.insturction);
return MetaplexHydraAddMemberWalletLayout(shares: decode["shares"]);
}