InvoiceFormat.fromJson constructor

InvoiceFormat.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory InvoiceFormat.fromJson(Map<String, Object?> json) => InvoiceFormat(
      web: DocumentFormat.fromJson(
        (json["web"] as Map).cast<String, Object?>(),
      ),
      pdf: DocumentFormat.fromJson(
        (json["pdf"] as Map).cast<String, Object?>(),
      ),
    );