MasterEditionV2.fromBuffer constructor
Implementation
factory MasterEditionV2.fromBuffer(List<int> data) {
final decode =
LayoutSerializable.decode(bytes: data, layout: _Utils.layout);
return MasterEditionV2(
key: MetaDataKey.fromValue(decode["key"]),
supply: decode["supply"],
maxSupply: decode["maxSupply"]);
}