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