AllocationTrackerAccount.fromBuffer constructor

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

Implementation

factory AllocationTrackerAccount.fromBuffer(List<int> data) {
  final decode =
      LayoutSerializable.decode(bytes: data, layout: _Utils.layout);
  return AllocationTrackerAccount(count: decode["count"]);
}