Invoice.fromJson constructor

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

Implementation

factory Invoice.fromJson(Map<String, Object?> json) => Invoice(
      number: json["number"] == null ? null : json["number"] as String,
      format: InvoiceFormat.fromJson(
        (json["format"] as Map).cast<String, Object?>(),
      ),
    );