StakeDeactivateLayout.fromBuffer constructor

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

Implementation

factory StakeDeactivateLayout.fromBuffer(List<int> data) {
  ProgramLayout.decodeAndValidateStruct(
      layout: _layout,
      bytes: data,
      instruction: StakeProgramInstruction.deactivate.insturction);
  return StakeDeactivateLayout();
}