ChannelsEditLocation.deserialize constructor
ChannelsEditLocation.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ChannelsEditLocation.deserialize(BinaryReader reader) {
// Read [ChannelsEditLocation] fields.
final channel = reader.readObject() as InputChannelBase;
final geoPoint = reader.readObject() as InputGeoPointBase;
final address = reader.readString();
// Construct [ChannelsEditLocation] object.
final returnValue = ChannelsEditLocation(
channel: channel,
geoPoint: geoPoint,
address: address,
);
// Now return the deserialized [ChannelsEditLocation].
return returnValue;
}