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