toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'is_allowed': isAllowed,
'is_purchase_allowed': isPurchaseAllowed,
'methods': methods.map((item) => item.toJson()).toList(),
'country_code': countryCode,
'state': state,
'@type': constructor,
};