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