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