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