InvoiceDeletedEvent.fromJson constructor

InvoiceDeletedEvent.fromJson(
  1. Object? json
)

Implementation

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