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