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