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