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