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