UpgradedGiftAttributeIdModel.fromJson constructor

UpgradedGiftAttributeIdModel.fromJson(
  1. Map<String, dynamic> json
)

Parses a UpgradedGiftAttributeIdModel from TDLib JSON.

Implementation

factory UpgradedGiftAttributeIdModel.fromJson(Map<String, dynamic> json) =>
    UpgradedGiftAttributeIdModel(stickerId: _readInt(json['sticker_id']));