MetaplexAuctioneerCancelLayout.fromBuffer constructor
Constructs the layout from raw bytes.
Implementation
factory MetaplexAuctioneerCancelLayout.fromBuffer(List<int> data) {
final decode = MetaplexAuctioneerProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction: MetaplexAuctioneerProgramInstruction.cancel.insturction);
return MetaplexAuctioneerCancelLayout(
auctioneerAuthorityBump: decode["auctioneerAuthorityBump"],
buyerPrice: decode["buyerPrice"],
tokenSize: decode["tokenSize"]);
}