InvokeWithTakeout.deserialize constructor
InvokeWithTakeout.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory InvokeWithTakeout.deserialize(BinaryReader reader) {
// Read [InvokeWithTakeout] fields.
final takeoutId = reader.readInt64();
final query = reader.readObject() as TlMethod;
// Construct [InvokeWithTakeout] object.
final returnValue = InvokeWithTakeout(takeoutId: takeoutId, query: query);
// Now return the deserialized [InvokeWithTakeout].
return returnValue;
}