CreditNoteVoidedEvent.fromJson constructor

CreditNoteVoidedEvent.fromJson(
  1. Object? json
)

Implementation

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