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