InvoicePaymentSucceededEvent.fromJson constructor

InvoicePaymentSucceededEvent.fromJson(
  1. Object? json
)

Implementation

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