InvoiceUpcomingEvent.fromJson constructor

InvoiceUpcomingEvent.fromJson(
  1. Object? json
)

Implementation

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