InvoiceMarkedUncollectibleEvent.fromJson constructor

InvoiceMarkedUncollectibleEvent.fromJson(
  1. Object? json
)

Implementation

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