ChannelAdminLogEventActionToggleAutotranslation.deserialize constructor
ChannelAdminLogEventActionToggleAutotranslation.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ChannelAdminLogEventActionToggleAutotranslation.deserialize(
BinaryReader reader,
) {
// Read [ChannelAdminLogEventActionToggleAutotranslation] fields.
final newValue = reader.readBool();
// Construct [ChannelAdminLogEventActionToggleAutotranslation] object.
final returnValue = ChannelAdminLogEventActionToggleAutotranslation(
newValue: newValue,
);
// Now return the deserialized [ChannelAdminLogEventActionToggleAutotranslation].
return returnValue;
}