PremiumFeaturePromotionAnimation.fromMap constructor
Implementation
PremiumFeaturePromotionAnimation.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['feature'] != null) {
feature = TdApiMap.fromMap(map['feature']) as PremiumFeature;
}
if (map['animation'] != null) {
animation = TdApiMap.fromMap(map['animation']) as Animation;
}
}