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