RecurringCharge.fromJson constructor
Implementation
factory RecurringCharge.fromJson(Map<String, dynamic> json) {
return RecurringCharge(
cost: json['cost'] != null
? MonetaryAmount.fromJson(json['cost'] as Map<String, dynamic>)
: null,
frequency: (json['frequency'] as String?)?.toRecurringChargeFrequency(),
);
}