InvoicePaymentFailedEvent.fromJson constructor

InvoicePaymentFailedEvent.fromJson(
  1. Object? json
)

Implementation

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