StakeAccount.fromBuffer constructor

StakeAccount.fromBuffer(
  1. List<int> bytes
)

Implementation

factory StakeAccount.fromBuffer(List<int> bytes) {
  final decode = _Utils.layout.deserialize(bytes).value;
  return StakeAccount.fromJson(decode);
}