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