PageBlockFooter.deserialize constructor

PageBlockFooter.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory PageBlockFooter.deserialize(BinaryReader reader) {
  // Read [PageBlockFooter] fields.
  final text = reader.readObject() as RichTextBase;

  // Construct [PageBlockFooter] object.
  final returnValue = PageBlockFooter(text: text);

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