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