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