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