InvoiceFromInvoice.fromJson constructor

InvoiceFromInvoice.fromJson(
  1. Object? json
)

Implementation

factory InvoiceFromInvoice.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return InvoiceFromInvoice(
    action: (map['action'] as String),
    invoice: InvoiceOrId.fromJson(map['invoice']),
  );
}