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