PhonePhoneCall.deserialize constructor
PhonePhoneCall.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PhonePhoneCall.deserialize(BinaryReader reader) {
// Read [PhonePhoneCall] fields.
final phoneCall = reader.readObject() as PhoneCallBase;
final users = reader.readVectorObject<UserBase>();
// Construct [PhonePhoneCall] object.
final returnValue = PhonePhoneCall(
phoneCall: phoneCall,
users: users,
);
// Now return the deserialized [PhonePhoneCall].
return returnValue;
}