InvoiceCreateOptionsFromInvoice.fromJson constructor

InvoiceCreateOptionsFromInvoice.fromJson(
  1. Object? json
)

Implementation

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