MetaplexAuctionHouseWithdrawFromFeeLayout.fromBuffer constructor
Constructs the layout from raw bytes.
Implementation
factory MetaplexAuctionHouseWithdrawFromFeeLayout.fromBuffer(List<int> data) {
final decode = MetaplexAuctionHouseProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction:
MetaplexAuctionHouseProgramInstruction.withdrawFromFee.insturction);
return MetaplexAuctionHouseWithdrawFromFeeLayout(amount: decode["amount"]);
}