InvoicePaidEvent.fromJson constructor

InvoicePaidEvent.fromJson(
  1. Object? json
)

Implementation

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