InvoiceItem.fromMap constructor

InvoiceItem.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory InvoiceItem.fromMap(Map<String, dynamic> map) {
  return InvoiceItem(
    description: map['description'],
    quantity: map['quantity'],
    priceCents: map['price_cents'],
  );
}