PostInteractionCountersStory.deserialize constructor
PostInteractionCountersStory.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PostInteractionCountersStory.deserialize(BinaryReader reader) {
// Read [PostInteractionCountersStory] fields.
final storyId = reader.readInt32();
final views = reader.readInt32();
final forwards = reader.readInt32();
final reactions = reader.readInt32();
// Construct [PostInteractionCountersStory] object.
final returnValue = PostInteractionCountersStory(
storyId: storyId,
views: views,
forwards: forwards,
reactions: reactions,
);
// Now return the deserialized [PostInteractionCountersStory].
return returnValue;
}