InvoiceFinalizedEvent.fromJson constructor

InvoiceFinalizedEvent.fromJson(
  1. Object? json
)

Implementation

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