AttachMenuBotIconColor.deserialize constructor
AttachMenuBotIconColor.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory AttachMenuBotIconColor.deserialize(BinaryReader reader) {
// Read [AttachMenuBotIconColor] fields.
final name = reader.readString();
final color = reader.readInt32();
// Construct [AttachMenuBotIconColor] object.
final returnValue = AttachMenuBotIconColor(
name: name,
color: color,
);
// Now return the deserialized [AttachMenuBotIconColor].
return returnValue;
}