SystemAssignWithSeedLayout.fromBuffer constructor
Implementation
factory SystemAssignWithSeedLayout.fromBuffer(List<int> data) {
final decode = ProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction: SystemProgramInstruction.assignWithSeed.insturction);
return SystemAssignWithSeedLayout(
base: decode["base"],
seed: decode["seed"],
programId: decode["programId"]);
}