TextHashtag.deserialize constructor
TextHashtag.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory TextHashtag.deserialize(BinaryReader reader) {
// Read [TextHashtag] fields.
final text = reader.readObject() as RichTextBase;
// Construct [TextHashtag] object.
final returnValue = TextHashtag(text: text);
// Now return the deserialized [TextHashtag].
return returnValue;
}