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