InvoiceFinalizationFailedEvent.fromJson constructor

InvoiceFinalizationFailedEvent.fromJson(
  1. Object? json
)

Implementation

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