PremiumStoryFeature.fromJson constructor
Parses whichever PremiumStoryFeature subtype the JSON describes.
Implementation
factory PremiumStoryFeature.fromJson(Map<String, dynamic> json) {
final object = tdObjectFactories[json['@type']]?.call(json);
return object is PremiumStoryFeature
? object
: UndecodedPremiumStoryFeature(json);
}