InvoiceCustomerBalance.fromJson constructor
InvoiceCustomerBalance.fromJson(
- Object? json
Implementation
factory InvoiceCustomerBalance.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return InvoiceCustomerBalance(
bankTransfer: map['bank_transfer'] == null
? null
: InvoiceBankTransfer.fromJson(map['bank_transfer']),
fundingType:
map['funding_type'] == null ? null : (map['funding_type'] as String),
);
}