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