PageListItemBlocks.deserialize constructor

PageListItemBlocks.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory PageListItemBlocks.deserialize(BinaryReader reader) {
  // Read [PageListItemBlocks] fields.
  final blocks = reader.readVectorObject<PageBlockBase>();

  // Construct [PageListItemBlocks] object.
  final returnValue = PageListItemBlocks(
    blocks: blocks,
  );

  // Now return the deserialized [PageListItemBlocks].
  return returnValue;
}