InvoiceUpdatedEvent.fromJson constructor

InvoiceUpdatedEvent.fromJson(
  1. Object? json
)

Implementation

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