Create an CreditItem from JSON
factory CreditItem.fromJson(Map<String, dynamic> json) => _$CreditItemFromJson(json);