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