NameServiceDeleteLayout.fromBuffer constructor

NameServiceDeleteLayout.fromBuffer(
  1. List<int> data
)

Creates a NameServiceDeleteLayout instance from buffer data.

Implementation

factory NameServiceDeleteLayout.fromBuffer(List<int> data) {
  ProgramLayout.decodeAndValidateStruct(
    layout: _layout,
    bytes: data,
    instruction: NameServiceProgramInstruction.delete.insturction,
  );
  return NameServiceDeleteLayout();
}