PremiumFeaturePromotionAnimation.fromJson constructor
Parses a PremiumFeaturePromotionAnimation from TDLib JSON.
Implementation
factory PremiumFeaturePromotionAnimation.fromJson(
Map<String, dynamic> json) =>
PremiumFeaturePromotionAnimation(
feature: _readObject(json['feature'], PremiumFeature.fromJson),
animation: _readObject(json['animation'], Animation.fromJson),
);