ExportedStoryLink.deserialize constructor

ExportedStoryLink.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory ExportedStoryLink.deserialize(BinaryReader reader) {
  // Read [ExportedStoryLink] fields.
  final link = reader.readString();

  // Construct [ExportedStoryLink] object.
  final returnValue = ExportedStoryLink(
    link: link,
  );

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