toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'is_allowed': isAllowed,
'is_purchase_allowed': isPurchaseAllowed,
'methods': [for (final e in methods) e.toJson()],
'country_code': countryCode,
'state': state,
};