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