InvoicesResourceLineItemsProrationDetails.fromJson constructor
InvoicesResourceLineItemsProrationDetails.fromJson(
- Object? json
Implementation
factory InvoicesResourceLineItemsProrationDetails.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return InvoicesResourceLineItemsProrationDetails(
creditedItems: map['credited_items'] == null
? null
: InvoicesResourceLineItemsCreditedItems.fromJson(
map['credited_items']));
}